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
oh, and, we shouldn't distnguish between dead and removed in our error messages -- from the POV of *almost* the whole system, dead should be treated as removed and you can (should) just use NotFound.