Check to make sure it is HASH before key look up

Conflicts:
	lib/Rex/Cloud/Amazon.pm
Check to make sure it is HASH before key look up and handle a case where
Amazon returns instance item in an ARRAY list

Conflicts:
	lib/Rex/Cloud/Amazon.pm

Conflicts:
	lib/Rex/Cloud/Amazon.pm