Provided better error for unit hosting on state server.
Stub EnvrionCapability.SupportsAddressAllocation methods
Rename method
Test stub methods
Typo fix
factor operation state out of uniter packager
make serialization explicit, update field names
more meaningful names for uniter fields; trivial consequent rearrangements for line length
put top-level test funcs in right place
fix imports, package names
silence stupid warning on push
second attempt at silencing stupid warning on push
Add joyent test
Make pre-push hook a little more friendly

 * If deleting a remote branch; don't do the full verification pass.
 * If there are no changes to push, don't do the full verification pass.
 * If there are unstaged or uncommitted changes then the verification
   pass doesn't really help, so prevent pushing when there are unstaged
   or uncommitted changes.
 * If there are no .go files in the changelist, skip full verification
   pass.
Provided better error for unit hosting on state server.
Bug 1378792
Default to using ssd storage for ec2 instances
Refactored common functionality to base struct based on review comments.
Bug 1378792
Optional Storage constraint no longer a pointer
Merge pull request #922 from wallyworld/aws-ssd-root-disk

Default to using ssd storage for ec2 instances

Fixes: https://bugs.launchpad.net/juju-core/+bug/1381009

When an EC2 image is searched for in simplestreams, the preference is to use one with SSD storage. If none is found, an image with EBS storage is used if found.

Also cleans up the image filtering which was incorrectly hard coding the storage type to search for.
Merge pull request #918 from fwereade/ops-queue

behaviour-preserving uniter refactoring

* pulled TestPackage funcs out into package_test.go files
* extracted Op, OpStep and State from uniter into new operation package
* made related type/field/method names more clear/readable
* fixed line lengths broken by the above
* meaningless change to bundles_test.go to fix a push warning