This change allows for providing the metric name list to the
modify_query method, which can greatly increase performence
when calling the method in a loop. Old behavior with sending
a Prometheus API request is preserved when the new parameter
isn't used.
Change-Id: I151c150c47e39699889baa1564a974e163c6a944
Signed-off-by: Jaromir Wysoglad <jwysogla@redhat.com>