consistent formatting for example quick start code
Merge pull request #17 from bixu/patch-2

consistent formatting for example quick start code
Add rubocop, and basic style exceptions

[refs #18]
Fixes for rubycop warnings

[refs #18]
rubocop fixes mas importante

[refs #18]
Add rubocop to Rakefile

- provides `rake rubocop` and `rake rubocop:auto_correct`
- [refs #18]
Fix more rubocop warnings

[refs #18]
Refactor zones command

Who owns what code? This still needs to be disentangled,
but maybe this is a bit better.
Lower memory configuration of example vagrantfiles

resolves #20
Dry up commands with subcommands

TODO: arguments to subcommands are janky. Perhaps
#process_subcommand should take a block, by which we
determine the arguments to pass to the subcommand?
Refactor capabilities to be instances of classes

Inherit from Zones::Cap::Base to be able to call
  CapClass.cap_method :capability_method
Then define #execute on the class instance to do any real
work.

Instances automatically get :machine passed into them.
Refactor out ZoneJson class
Clean up zone_info slightly

TODO
- sometimes this returns a Zone instance, sometimes an array of arrays.
- should some of this logic move into Models::Zone?
- #create logic should move here out of :zone_create capability, and
  include user creation
Update platform image in example Vagrantfiles
Fix or ignore last rubocop warnings

[resolves #18]
Fix error name in Connection::ErrorHandler

[refs #18]
rake default runs rubocop
demonstrate hooking smartos zone up to chef server

install this vagrant file, then do `vagrant provision`
correctly append '-validator' for vm registration
Zone creation happens in zone_info, not in capability

This allows us to create zones outside of the context of vagrant
capabilities. This is important because capabilities use ssh to
test whether the guest is supported. When ZoneGate is running
but the zone is stopped or destroyed, it may be impossible to ssh
into the system. When ssh is accessible, local zones may fail tests
that only succeed in the global zone.

[resolves #19]