Some more barn-agent refactoring.

* Introduce the concept of a 'channel' which is a source/destination
pair. The will facilitate dynamically changing the destination address
in future.
* Remove completely the passing around of BarnConf and replace it with
a 'Metrics' service that removes some of the boilerplate in calls.