Hook tool for sending metrics from charm.

A hook tool metric-add is made available to charm authors for sending metrics to state.
Bikeshedding: Once the sender branch lands we could remove this function and use a custom sender to send values through and check the keys/ values instead of implementing this call. But it's probably fine as it is