Add backup_to_s3() task to build-ami.py.

* Fixes #2.
Wait for Public DNS to be assigned in build-ami.py.

* Wait during launch_instance() task.
* Fixes #3.
Synch fork with upstream bugfixes.