Added empty Ec2Instance class and test that actually can load it (some dancing involved)
Renamed vars/tests for clarity
Made ec2 module run in a safe scope.
Replaced Ec2Instance with Ec2IdempotentHandler instead, staying somewhat simple
some minor renaming and cleanup in test
Ec2IdempotencyHandler will check existing instances by the tag ansible_idempotency_id
Added functionality for testing if a boto instance fulfils our request
Non-set values in request won't cause comparison to fail on them. It basically works now, however old instances are still kept alive so next step is to expose them for termination. Also requesting new instances on e.g. tag change seems a bit steep...
terminated unwanted instances that share the same idempotency_id
fixed bug where instance_tags weren't properly merged
fixed bug where mocked instance would provide tags in different format than actual instance, tests now reflect this (albeit ugly)