Add image resource to v2 images api

Adds the image resource for images v2 api, which consists of image
metadata, and provides access to the associated sub-resources such
as the image payload itself.

Change-Id: I9431562ed07e4bb2e01cec0769793f4302cf816b
Merge "Add image resource to v2 images api"