implemented the default sender
updates for latest version of trunk
some changes after reviewing
start the workers when we start
start the metrics workers; the metricsmanager should rely on a machine agent connection

sensible periods for the metric workers
fixes from review
added tests for the default sender
moved metricsender to apiserver
only an environment manager can access the metrics api
added a machiner test and vars for cleanup and sender periods
upgrades: move storage migration steps to 121a2
Move responsibility for provider-state to providers
provider/common: add tests for provider-state functions
Clean up around --keep-broken, add test to openstack
bug fix in worker test
provider/ec2: set UploadArches for tests

Ensure we upload AMD64 tools in tests,
regardless of host architecture.

Fixes https://bugs.launchpad.net/juju-core/+bug/1372961
Add comment about arch coverage
Merge pull request #822 from axw/lp1372961-ec2-tests-i386

provider/ec2: set UploadArches for tests

Ensure we upload AMD64 tools in tests,
regardless of host architecture.

Fixes https://bugs.launchpad.net/juju-core/+bug/1372961
Merge pull request #814 from axw/upgrades-steps-121a2

upgrades: move storage migration steps to 121a2
Address review comments