Allow --function to use salt outputter
Merge pull request #379 from techhat/outputter

Allow --function to use salt outputter
Use salt's environment verification. Refs #346.

Should create required directories with proper permissions, even the logging one.
Fix `SyntaxError`.
Merge pull request #380 from s0undt3ch/issues/346

Use salt's environment verification. Refs #346.
use correct exit status code on error
refactored cli module to use if-else and print output and exit on success in one place
added exception handler to do_function block
change query option to be mutually exclusive like the rest
Merge pull request #381 from jbadigital/cli

CLI mods
Adding create_volume() to ec2
Add attach_volume() to ec2
Add detach_volume() to ec2
Add show_volume() to ec2
Add delete_volume() to ec2
only sync_after_install on create success
output some results from run_map
enable formatting of salt-cloud output with command line options
Merge pull request #382 from jbadigital/outputters

Outputter changes
Merge pull request #383 from techhat/attachvolume

Add volume management to ec2