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.
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 #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
Merge pull request #757 from katco-/status-formatter-oneline

Status formatter oneline

https://docs.google.com/a/canonical.com/document/d/1olIjfnMIKPbNMmNBhfjwlnzdRvY-xBKygpIOhv7QIkE/edit

Fulfills feature "Pretty Printing"
Fix .reviewboardrc
Merge pull request #777 from voidspace/reviewboard-fix

Fix .reviewboardrc

Add TRACKING_BRANCH to .reviewboardrc.

In CONTRIBUTING.md we recommend that "origin" be set to your github clone.  We also recommend configuring a remote repo called "upstream" that points to the official juju repo.  However, this complicates interaction with ReviewBoard since it only knows about the official repo (to which .reviewboardrc is already pointing).  So when using "rbt push" this disconnect often results in review requests with incorrect diffs.

The TRACKING_BRANCH setting corrects this.  Without this patch people have to add it to ~/.reviewboardrc or use an extra option to rbt.  However, since we expect that everyone will have their "remotes" set as described above, setting this in the repo's .reviewboardrc will benefit everyone.