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
Do you think we should be asserting the current value of the charm URL? It might be overkill or it might be critical: can't quite decide...