Group EC2 Inventory by AMI ID

May need to run Ansible commands against an AMI ID. Updated the ec2.py to allow this to happen.