VMware: pass vm_ref to _set_machine_id

Save a method call to get the vm_ref. In spawn this value exists so
we can pass it to the method if necessary.

Change-Id: Ied43fb09fb2eec2d2c22fce17b4f98ae3f58860e
Add CPU pinning data to InstanceNUMACell  object

We will use this object to hold the data about CPU pinning for each
instance. We add the CPU pinning and topology information to each
InstanceNUMACell. We will use this information to track pinning of each
instance.

Change-Id: Ic299e474ea210c9028a046b2665c0021fb2baf06
Blueprint: virt-driver-cpu-pinning
Merge "Add CPU pinning data to InstanceNUMACell  object"
Merge "VMware: pass vm_ref to _set_machine_id"
Implement microversion support on api methods

Adds support for specifying api versioning information
on api methods and the infrastructure to route requests
to the correct method based on the request information.
The api_version decorator allows us to retain the same
method name for different implementations (versions) of
the API method (GET/PUT/POST, etc).

Note that currently the @api_version decorator must
be the first (outermost) decorator on an API method.
We should in future have at least a hacking rule to enforce
this but better would be to remove this restriction.

Partially Implements Blueprint api-microversions

Change-Id: Ifb6698c582d37284c42b9b81100a651fd8d1dd1a