implemented the sender worker for metrics
added test and comments after first round of reviews
second round of of review, support bulk calls in setting sent,
added more mocking in tests
support bulk calls in the sendmetrics api call
updates after merging with trunk
Added new status format option: oneline to list units & their subordinates.
Revert "Added new status format option: oneline to list units & their subordinates."

This reverts commit 6841d5c80f68bbfc36da088f2d9c987300c64b1f.
Merge branch 'master' of https://github.com/juju/juju
Added new status format option: oneline to list units & their subordinates.
Added expected request parameter to PatchUnitResponse function.
added the environment uuid to the metric batch
uuid -> UUID
Migrated formatter to its own file. Refactoring.
Merge branch 'master' of https://github.com/juju/juju
Changes from 3rd round of reviews
Merge pull request #769 from mattyw/add-env-to-metric

added the environment uuid to the metric batch

http://reviews.vapour.ws/r/36/
Merge pull request #767 from tasdomas/patch-unit-response-expect-request

Added expected request parameter to PatchUnitResponse function.

We should be checking if the expected API request is issued.
minor test changes after 4th round of reviews
Merge pull request #676 from mattyw/add-metric-sender-worker

Implemented the sender worker for metrics

Implemented a sender worker that will send metrics to a given service
Changes from round 2 of reviews.

- Formatters now live in a more specifically named file.
- Fixed nil reference panic with writing out to "out".
- Changed test to be more human-readable.
Merge branch 'master' into status-formatter-oneline