Added support for a metrics collections

Added a metric collection for storing unit metric in the state server

Only support for:

* adding new metrics
* getting lists of unsent metrics
* setting the sent flag
yeah, I guess if we're trusting the unit agent to give us the data, we may as well trust it to tell us the right charm URL. And it should indeed know. SGTM.