Update charm interface implementation.
Merge pull request #990 from tasdomas/new-charm

Update charm interface implementation.

The Charm interface defined in the the charm package has been updated with a Metrics() method that returns the metrics the charm author has defined in a metrics.yaml file. This PR updates the Charm structure defined in core to conform with the updated interface, storing metrics definitions in mongo.