Added pieces to support publishing module on puppetforge. Updated fact code so it wouldn't fail if run outside of EC2 or if no InstanceProfile in use.