did ALL THE THINGS; uniter_test passing again; loads of cleanup to do
better reboot-error handling/layering in RunCommands
State upgrade step: add env UUID to openPorts collection

Add an upgrade step targeting 1.22-alpha for the openPorts collection. Append the State Environment UUID to the document _id field. Add the following fields to the document: "env-uuid", "machine-id","network-name".

Refactor state/ports.go to use the new fields. Refactor mgo queries to included the environment UUID. Refactor state/upgrades.go helper function addEnvUUIDToEntityCollection to support collection specific upgrades by using variadic option functions. Skip failing upgrade tests which do not target current version.
operations now return State, not StateChange, which has become an internal detail; moved responsibility for hook-completion state changes to the runHook operation. also make StateFile.Write accept a *State instead of a mindless blech of individual params
move interfaces into interface.go; tweak error messages
gaah add files
Add some warnings about resource usage and backup archives.
removeMetadata -> removeMetadataID.
Drop a superfluous comment.
Clean up newStorageID.
Checkpoint for collaboration

The leadership service endpoints have been defined so that others can begin writing against the API. Currently everything else is stubbed out.
Clean up addStorageMetadata.
UpdateFromMetadata -> newStorageMetaDoc.
Update the package doc comment.
fileSet -> isFileInfoComplete.
doc.asMetadata -> docAsMetadata.
Fix a doc comment.
Fix a doc comment.
Use errors.Trace.
gc.IsNil -> jc.IsNil.