Migrate image API tests to resource_* fixtures

Partially-implements bp resource-cleanup

Change-Id: I46bf457bf3ed1cfedc40b77c82fdfbbd4f4ee1e6
Merge "Migrate image API tests to resource_* fixtures"