Metrics validation in the uniter

With the introduction of the metrics.yaml file support in the charm package, the add-metric hook tool is being refactored to delegate metrics validation to the charm package (based on the declarations in the metrics.yaml file). In addition to metric-type dependant validation, charm authors are also restricted from using the add-metric hook tool to specify values for built-in metrics.