ec2: check for changes

In the ec2 module, if an id is specified, check if there have been
any changes. If not, return changed=False

Fixes #3746 

Also removes an unused line of code from the module.