Merge pull request #35 from ironcladlou/dev/build-deploy

Activation and proxy status update fixes
Minor prepare changes
Merge pull request #36 from pmorie/build-deploy

Minor prepare changes
Modify 'gear restart' to do all cart instances

Add --all option to 'gear restart' to allow it to restart all instances
of a cartridge across all the app's gears

Call update_proxy_status before/after restart to rotate the gear out of
the proxy, then restart, then rotate back in
Merge pull request #37 from ncdc/gear-restart-rolling

Modify 'gear restart' to do all cart instances
Rolling restart from the broker
Fix JSON handling in remote proxy update

Implement `--as-json` argument in gear rotation commands. Correctly implement
error handling when processing remote proxy command results.