Add power_on flag to virt driver finish/revert migration methods

This patch adds a boolean power_on flag to the virt driver
finish_migration and finish_revert_migration methods to indicate whether
or not to power on the instance as part of the resize/migrate operation.
The default is to power on the instance.

Related to bug 1177811

Change-Id: I76c7d6912eda2c333554855a8956bd0fbb1e8b6d
Set resized instance back to original vm_state

You can resize an instance when it's in the ACTIVE or STOPPED state but
the code currently always finishes the resize (either confirmed or
rejected) by putting the instance into ACTIVE state. This change
saves the original vm_state and uses it to restore the state on the
instance after the resize is confirmed or rejected.

With this change, the resize flow will never automatically power on an
instance that is originally shutoff. The user, however, can manually
power on the resized instance to test it before confirming or rejecting
the resize. If the user powered on the instance and confirmed the
resize, then this change will leave the instance active. If the user
powered on the instance and then rejected the resize, this change will
stop the instance when it finishes the revert operation.

Related to bug 1177811

Change-Id: I19fa61d467edd5a7572040d084824972569ef65a
Ports ips api to v3 API

Port the core ips api to the V3 API as plugins along
with the corresponding tests for the ips and servers API.

Partially implements blueprint v3-api-core-as-extensions

Change-Id: I6e9f8ab71745791e6bc18999810f39764cd40116
Only update cell capabilites once

Simple indent level fix

Change-Id: Ic137259f9461e767ecd256d9ac1297256bd9dbfe
Adds v3 API disable config option

Adds the ability to disable the v3 API and it is disabled by
default for now. The API is explictly enabled when running the
unittests though.

Change-Id: I34597d35b9739e06561579651f7ec72afa357919
Merge "Add power_on flag to virt driver finish/revert migration methods"
Merge "Set resized instance back to original vm_state"
Fixed two minor docs niggles.

The doc todo list didn't actually work, so remove it. Also, the
documentation is not written by Anso Labs quite so much anymore.

Change-Id: I746a26505d331ab55565e952a1a46425458b1412
Merge "Ports ips api to v3 API"
Merge "Fixed two minor docs niggles."
Merge "Adds v3 API disable config option"
Merge "Only update cell capabilites once"