Allow forceDelete to delete running instances

Currently attempting to force delete a running instance
fails while a normal delete can succeed. This changes the
behaviour of force_delete so any instance can be deleted
and not just ones which have already been soft deleted.

Also catch InstanceIsLocked exceptions at the API layer
and now also don't need to catch InstanceInvalidState
exceptions since they are no longer raised

DocImpact: forceDelete will now delete any instance and not
  just ones which have already been soft deleted

Change-Id: I06a476701ccb47d8f7fd6e43c394ccb3fac2b3aa
Closes-Bug: 1351001
Fix 'os-start/os-stop' server actions for V2.1 API

'os-start/os-stop' server actions were missed for V2.1 API.
This patch converts 'os-start/os-stop' server action for V2.1 API

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Closes-Bug: #1367575

Change-Id: I8b0f27fb639034d368bcc1fc51d20daf9c2cdeb5
libvirt: set pae for Xen PVM and HVM

The Physical Address Extension (PAE) enables paging to produce physical
addresses with more that 32 bit (2^32 bytes, 4 GBytes), namely it
extends the physical address space to 64 GBytes (2^36 bytes).

When spawning a 32 bit image in Xen PVM or HVM, PAE should be enabled in the
hypervisor so as to ensure that it is able to run properly. According to
the Xen documentation it can be enabled safely: "In general you should
leave this enabled and allow the guest Operating System to choose whether
or not to use PAE. " [1]

[1] http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html#pae_boolean

Closes-Bug: #1100697
Change-Id: If8d8ebc38efd969d96a1953446d72e72691734b3
Fix incorrect exception when bdm with error state volume

When boot from an error state volume, compute api will raise
InvalidBDMVolume exception which is incorrect. It should raise
InvalidVolume exception with appropriate prompt message.

Note that the v2 API extension is not updated to handle the
InvalidVolume exception since the API already handles the
base exception Invalid. A unit test is added to verify the
coverage.

Change-Id: I9dbc3f68e68b6d452077bc47717ad0fafd5640ac
Closes-Bug: #1361517
Co-authored-by: Matt Riedemann <mriedem@us.ibm.com>
Merge "Allow forceDelete to delete running instances"
Merge "Fix 'os-start/os-stop' server actions for V2.1 API"
Merge "libvirt: set pae for Xen PVM and HVM"
Merge "Fix incorrect exception when bdm with error state volume"