Fix bug in cli argument parsing

The argument list was being manipulated inside the for loop.
This was causing the loop to behave very strangely on some systems.
The loop would exit after the first iteration and the command would
exit with an error
Adding support for spot instances in ec2 driver
Moving wait_for_spot_instances into the EC2 driver
add tag support at instance creation to ec2 and aws providers. fixes #674
Merge pull request #742 from jstrunk/develop

add tag support at instance creation to ec2 and aws providers. fixes #674
Merge pull request #740 from abemusic/features/ec2-spot-instances

Adds spot instance support to EC2 driver
Merge pull request #717 from mahendra/args

Fix bug in cli argument parsing
Pull root device name for each VM instead of hardcoding it to /dev/sda1
If the master failed to create, do not continue with the map.
Code and formatting improvements/fixes.

* Double to single quotes
* Variable names length should be >= 3
* No need to iterate through keys and values if all we want is values
* White space around math operators
* Max line length fixes
Get a copy not a reference of the configuration value.
Also check the profile configuration. Fixes #744

When search for configuration keys on the VM's configuration or it's provider or the global config, don't forget that VM's profile configuration. When bootstrapping VMs using the profile this extra step is not necessary, though, when bootstrapping using maps, the map only holds the profile name, not it's data, making this extra step, fundamental.
Revert "Add tty and sudo options"

This reverts commit 556cb1ea33118b4547e5f223f74d98fdbb3ba550.
Revert "Ensure hostnames are set properly. Fixes #712"

This reverts commit a75da999b52b71f906a061229df39fd5bb9e940e.
prevent exception when using -P without a start_action
Move 'Running command...' from info to debug message

The follow output has been moved to a debug message now, since its more
for developers to debug:

[INFO    ] Running command under pid 24591: 'ssh
-oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null
-oControlPath=none -oPasswordAuthentication=no
-oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes
-oKbdInteractiveAuthentication=no -i /home/pabelanger/.ssh/id_rsa.pub
ubuntu@172.16.100.2 date'

Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Merge pull request #747 from s0undt3ch/issues/744

Fix for #744 and some improvements
Merge pull request #746 from abemusic/issues/root-device-name

Pull root device name for each VM instead of hardcoding it to /dev/sda1
Merge pull request #749 from pabelanger/temp/running_command

Move 'Running command...' from info to debug message
Merge pull request #745 from mafrosis/multiproc-excp

Prevent exception when using -P without a start_action