Hook tool for sending metrics from charm.

A hook tool metric-add is made available to charm authors for sending metrics to state.
As I mention elsewhere I think this should be
```
err := c.ctx.AddMetrics(metric.Key, metric.Value, time.Now())
```

But I'm happy to be convinced otherwise