Hook tool for sending metrics from charm.

A hook tool metric-add is made available to charm authors for sending metrics to state.
Nitpick: Why do we use the time here and not in the hook tool?