Fix for JENKINS-15081. We store the EC2Cloud that a slave belongs to as an attribute in the EC2AbstractSlave class and have a function call to retrieve it in EC2Computer.

All references to EC2Cloud.get changed to EC2AbstractSlave.cloud or EC2Computer.getCloud().
This fix allows for us to always know the correct Cloud that an EC2AbstractSlave or EC2Computer belongs to so we can have multiple EC2Clouds configured on one Jenkins instance and have different templates for different clouds and have the instances for each spin up properly.
Merge pull request #47 from kpfleming/fix-template-cap-zero

Ensure that template instance caps are not zero.
changing reference from EC2Slave to EC2AbstractSlave as it should be.
Merge branch 'master' of github.com:jenkinsci/ec2-plugin into jenkins-15081
Removed getEc2Cloud method and replaced calls to it with calls to cloud.connect() for consistency and as per request from Francis.  Also removed null checks for when a cloud is null, as this should never happen.
Merge pull request #48 from rsennewald/jenkins-15081

Fix to allow multiple EC2Clouds (fix for JENKINS-15081)
Merge branch 'master' of https://github.com/jenkinsci/ec2-plugin into ec2-spot-check-current-price