JENKINS-18854

Isolated changes required to make EC2 plugin work with Eucalyptus 3.x.  It removes dependency on the deprecated /register endpoint and makes the AMI checking logic work with Euca too.