initial commit
State: Migrate instanceId

Add an upgrade step to migrate the depricated "instanceid" machine
field into "instanceid" in the instanceData doc.
added check and tests to stop add-units earlier if the destination machine doesn't exist, lp:1384732
use errors annotate instead of fmt.Errorf
fix conflicts
State, upgrade step: Add EnvUUID to Sequence doc IDs

Adds an upgrade step to add the EnvUUID to sequence doc IDs.
Move code out of package_test.go.
Do not use MgoTestPackage in backups.
Expose backups.StoreArchive.
Set meta.Stored properly.
State upgrade step: Add EnvUUID to cleanup docs.

Add an upgrade step which stringifies the cleanup doc (bson.ObjectId)
and prepends State's environment UUID. Update state.docID() to take an
interface and return a string.
Move .UTC() into setBackupStored.
testing -> backupstesting.
fixed build errors
Use key values parser from utils package to parse key=value settings in juju tools.
Make upgrades look in releases dir for tools
More test fixes
Fix compile error
Merge pull request #998 from mattyw/fix-build-fail

fixed build errors

These tests were failing to build
Merge pull request #969 from mattyw/add-unit-fails-too-late

add-unit needs to fail earlier if destination machine doesn't exist

Bug fix for https://bugs.launchpad.net/juju-core/+bug/1384732

juju add-unit my-service --to 3 fails too late if machine 3 doesn't exist.