Convert some prints to addDetails calls.

If instead of using print, we use testtools details, we can capture the data
sensibly in the subunit output stream. That way, we can make good display
decisions about the data to be shown in the HTML reports as needed.

Part of blueprint grizzly-testtools

Change-Id: I125b0bf60591ec3c854aa757b370a1c3573a40d2
Additional image member information

Return the created_at and updated_at values for image member.

Related to bp glance-api-v2-image-sharing

Change-Id: I50f514c8680d1299d41c107c993e7ee2b0d7a185
Image Member Domain Model

This commit is the first layer of image member domain model.
The can_share feature from v1 of glance api will not be
ported to glance v2 api.

Related to bp glance-api-v2-image-sharing

Change-Id: Ibfb790d438efb0f5b29b4786c02f1155962150c5
Adding database layer for image members domain model

Adding the database layer image members domain model.
For a given image, a user can get a list of image members,
delete image member, and get a specific image.

Related to bp glance-api-v2-image-sharing

Change-Id: I71a0c0d3c828cba231a75d0b7888bad932de41e5
Avoid dangling partial image on size/checksum mismatch

Fixes bug 1122299

Previously, when the supplied image size or checksum didn't match
the calculated values, partial image image data was left dangling
in the backend store.

Now, we clean up when the mismatch is detected.

Change-Id: I916d78ef3b2065e87df31ec4fb405915417d68aa
Merge "Additional image member information"
Merge "Avoid dangling partial image on size/checksum mismatch"
Merge "Convert some prints to addDetails calls."
Merge "Image Member Domain Model"
Merge "Adding database layer for image members domain model"