Index metricset for elasticsearch Metricbeat module #6881
This adds the index metricset to the Elasticsearch module. For now it only contains very basic metrics and is marked experimental.
This PR is used to create the basic for adding tests with the fetch reporter v2 interface and also generate data with it.
It also adds basic utility functions to fetch Master or Node information in the Elasticsearch module.