Added custom fact for getting the agent key from EC2 or rackspace images

Tested using puppet apply on EC2, Rackspace and vagrant images.