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
slightly different pattern needed here -- you could get a NotFound as easily as a Dead, but should handle them the same. I think there's actually a func called notDead?