Addresses issue https://github.com/saltstack/salt-cloud/issues/478.

Queries to list EC2 instances return a dict but could return a list for stopped instances. Need to hand both. See the issue cited above for example error messages in the log .
fixed indentation.
Merge pull request #483 from toppur/master

EC2 instance provisioning is incomplete and does not set Name tag (https://github.com/saltstack/salt-cloud/issues/478)