Add a driver method to toggle instance booting

Add a driver method to toggle the ability to boot an instance.

The only implementation provided is for the xenapi virt driver.  Other
drivers will log a warning and treat the method as a no-op.

Implements: blueprint cleanup-running-deleted-shutdown

Change-Id: Ie448c681d653b126cb12d3a48d79ab4febde8828
objects: declare some methods as static

A lot of code is composed of static methods, but they are not declared
as is.

Change-Id: I64be630b560e331aed9d1ab9a68152da52eb0d82
Pass Instance object to spice compute rpc api

Update the get_spice_console() method of the compute rpc api to take in
an Instance object instead of a dict.  The object_compat() decorator is
used to maintain backwards compatibility with receiving a dict.

Change-Id: I0bafe18d9c8bffcd0b72629542fbf7aedacdfbb4
Fix testcase config option imports

Fixes some testcases where config options were used before they
were guaranteed to be imported. This was causing intermittent
failures of tests such as test_shelve_offload.

Closes-Bug: 1256210

Change-Id: Id0204d67f35cb098a4ddfb670f5968e76b327705
Update help for osapi_compute_listen_port

This patch cleans up the configuration help for the
osapi_compute_listen_port option.

Change-Id: Ib253fc542637aee3bcdcc4c5f7330a3be490a5a9
Merge "Fix testcase config option imports"
Merge "Update help for osapi_compute_listen_port"
Merge "Add a driver method to toggle instance booting"
Merge "Pass Instance object to spice compute rpc api"
Cleanup ec2/metadata/osapi address/port listen config option help

Commit d88cfbd changed the help for the osapi_compute_listen_port config
option but the grammar could be cleaned up a bit for not only that
option but the ec2 and metadata API IP address/port listening options in
nova.service, so this patch cleans them all up.

Change-Id: I66533d576046141bd3cd2f265dc2cfa6383c738d
Merge "objects: declare some methods as static"
Merge "Cleanup ec2/metadata/osapi address/port listen config option help"