[API] Added the "Get Indices Info" API

Related: elasticsearch/elasticsearch#7234, elasticsearch/elasticsearch/#4069
[API] Added the support for `metric` URL parameter to the "Reroute" API

Related: elasticsearch/elasticsearch#7523