This moves the metrics query building to a separate interface in the naming package so that it can be used across providers.
This extracts the label-to-resource conversion to a separte "naming" package for use across different providers. Early versions of the commit were done by antoinne85 in #79.