Use an attribute to set the query to search for ES and graphite servers

This PR add two new attributes that allows to set the query used to search for the elasticsearch and graphite server. The default value has been set to the same content that was originally used to to the query.

Having this in an attribute allow you to set them to fit your environment, for exemple in cases where you have one server shared for your dev/staging environment and another one for your production.