Created function to return keypair and SGs names

Create ec2_entities() to return security group and keypair names
associated with the cluster. Its created to reduce redundancy.

Signed-off-by: Shashank Sahni <shredder12@gmail.com>