Use curl instead of wget.

EC2-tools use that anyway, so we can get rid of another dependency as well.
Fail early on missing requirements.
Check early if the even CoreOS image exists.