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
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.
Merge branch 'master' into leadership
consolidate a bunch of disparate junk into operation.Callbacks
merge master
move setupLocks back, to make diff look smaller
fix ModeContinue, add failing (and some passing) tests
more callback tweaking; comprehensive(?) tests for runHook op
Skeleton subnets doc
Actually add skeleton implementation
yet more tests
Further fleshing out implementation
deploy operation tests
merge parent
add some interface docs