Added new constructor to Metric so a db connection and filter could be passed.
Merge branch 'master' of https://github.com/VizGrimoire/GrimoireLib