Hook tool for sending metrics from charm.

A hook tool metric-add is made available to charm authors for sending metrics to state.
If you mean use a mock sender, +1. We should avoid end-to-end testing in the unit tests as much as possible.