Allow streams version to be parameterised so that it can be different for images and tools metadata
Factor out a newBackupID function.
Add an alternate ID generator.
Add tests.
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.
Remove the old implementation.
Merge pull request #750 from ericsnowcurrently/backups-human-readable-ID

Make backup IDs more human-readable.

Currently we just use the current UUID.  This patch changes it to "<timestamp>.<env ID>".  A more human-readable ID will help juju users.
apiserver/client: Migrated SetEnvironAgentVersion test to serverSuite
Merge pull request #762 from wallyworld/sshstorage-not-found

Tweak bash used for sshstorage.Get()

Fixes: https://bugs.launchpad.net/juju-core/+bug/1367695

Return fixed, locale independent string when file is not found.
cmd/juju: created interface for upgrade-juju's client API

To allow mocking in tests.
cmd/juju: upgrade-juju "upgrade in progress" handling

upgrade-juju now special-cases handling the case of the
SetEnvironAgentVersion API call failing due to an upgrade appearing to
already be in progress. The user is given guidance on what they might
be able to do to fix it.

The change introduces a struct conforming to the upgradeJujuAPI
interface to allow testing of the upgrade-juju command without making
actual API calls.
apiserver: defined "upgrade in progress" error

Avoids repeating the error code string everywhere.
Also added SetEnvironAgentVersion API integration test.
Merge pull request #761 from wallyworld/licensing-fixes

Licensing fixes

Various tweaks to address:

https://bugs.launchpad.net/bugs/1368321
https://bugs.launchpad.net/bugs/1368358
Remove obsolete files
Merge pull request #763 from wallyworld/sshstorage-not-found-trunk

Merge pull request #762 from wallyworld/sshstorage-not-found

Tweak bash used for sshstorage.Get()

Fixes: https://bugs.launchpad.net/juju-core/+bug/1367695

Return fixed, locale independent string when file is not found.
Add owner and server uuid to environments.

Add real owners to the environments document.

Add upgrade step.