WIP: Add query support for metrics discovery

This is first step to support querying for metrics index. It adds a handler called `HttpMetricsIndexHandler` to the query server which will load the discovery module specified in the config and handle all the discovery requests using it.

TODO
---------
It still lacks tests which will be added after we finalize the ElasticIO discovery part.