Hook tool for sending metrics from charm.

A hook tool metric-add is made available to charm authors for sending metrics to state.
I'll check with @fwereade regarding this - as this will change the existing behavior.