Bug fix in ec2.py

- getVolumeDetails and getAMI fixed to correctly setup payload.