Add compatibility for InstanceMetadata and primitives

Since the virt drivers instantiate InstanceMetadata manually,
this adds a bit of compatibility for primitive instance objects
until we have all of compute manager converted.

Change-Id: Ifb9ae7838300280895d63ffbd13337529b6d883c
Merge "Add compatibility for InstanceMetadata and primitives"