Hook tool for sending metrics from charm.

A hook tool metric-add is made available to charm authors for sending metrics to state.
CommandBase has a no-op SetFlags already. You can drop this since you're embedding CommandBase.