configdrive: Use the EC2 metadata over OpenStack

Standardize on specific EC2 and OpenStack versions and add tests.