Add ImageNotActive check for instance rebuild

We have a check in place on create to test whether the image is marked
as deleted in Glance that doesn't exist on the rebuild method. This
patch adds that check and tests, with a follow-on patch forthcoming to
refactor the code to a shared method.

Fixes bug 1180604

Change-Id: I1e75313a72d2197e83f7dacf6bcbd6750dd490cd
Adding tests for rebuild image checks

Create instance has tests arounds it's image-checks, this patch just ports
those tests over to the rebuild case.

Change-Id: Ibe982e478ec2c8b44e130c022c6d1d493d6d9674
Merge "Add ImageNotActive check for instance rebuild"
Merge "Adding tests for rebuild image checks"