Integration test framework

Includes basic end-to-end test for ami-create-image.
Improve cleanup (auto-termination) of dev instance in integration tests

In particular: if the user does a keyboard interrupt (e.g. Cntrl-C) during the
instance setup, make sure we terminate any instance that was launched.
Previously such an action would leak a running EC2 instance.