Fix EC2 RegisterImage ImageLocation starts with /

* Allows image location that begins with '/' during EC2 image register
* Adds relevant unit test

Fixes LP bug #1074908

Change-Id: I488b126c2079de4370823b347e80c7ec1ecc2c9f
Improve Python 3.x compatibility

Mechanical translation of the deprecated
except x,y: construct with except x as y:
The latter works with any Python >= 2.6.
Add Hacking check.

Change-Id: I845829d97d379c1cd9b3a77e7e5786586f263b64
Clean up vmwareapi.network_util.get_network_with_the_name

Removes an unnecessary method call and cleans up some logging.

Fixes bug 1185072

Change-Id: I1a57e2c2d8506796626d6852d25c5b699d031117
Delete unused bin directory

Delete last bits of bin/.  With the move to entrypoints these aren't
needed anymore.

Update CONF.bindir to default to
  os.path.join(sys.prefix, 'local', 'bin')

Part of blueprint entrypoints-plugins

Change-Id: I95250d3779433e7b85aaa889a873b16c86a7d2be
xenapi: Added logging for sparse copy

After 300 seconds(default), logs how many bytes have been written
already, and how many are left, so as to be able to track progress of
the long running task.
Implements blueprint log-progress-of-sparse-copy

Change-Id: I289ab978ec4b31f1015c783111c01a460de33f09
More detailed log in failing aggregate extra filter.

For easier debuging. Report more detailed log when
aggregate_instance_extra_specs failed.

Change-Id: I9e285fc55ca4dfa75688bb0645b8d1b71a0b55bd
Merge "Improve Python 3.x compatibility"
Update rpc/impl_qpid.py from oslo

The current qpid driver cannot serialize objects containing strings
longer than 65535 characters.  This just became a breaking issue when
the message to scheduler_run_instance went over that limit.  The fix has
been commited to oslo, so this just syncs it over to Nova.

Bug 1175808
Bug 1187595

Change-Id: If95c11a7e03c81d89133f6cad0dcbb6d8acb8148
Merge "xenapi: Added logging for sparse copy"
API to get the Cell Capacity

The total RAM and the available RAM are stored in memory of CellStateManager.
This API gets the available slots per flavor for a given cell.

Implements: blueprint get-cell-free-ram
Change-Id: I2a6dbb8835cad04f3ee058c3012490782d7c8e67
Merge "Delete unused bin directory"
Make the datetime utility function coerce to UTC

Getting datetime objects from existing sources (i.e. sqlalchemy)
is problematic because they're "timezone naive". Make the utility
function coerce these to UTC for easier conversion.

Related to blueprint unified-object-model

Change-Id: I61bc6b13f9bd9441d64cc6930e43e921af72a342
Merge "Update rpc/impl_qpid.py from oslo"
Moving `test_misc` tests to better locations

We now have more specific places to put the tests contained within
`test_misc`.

Change-Id: Ifa29bdfcea5053d991ece6397d9c70d62157fc10
Merge "Clean up vmwareapi.network_util.get_network_with_the_name"
Merge "Fix EC2 RegisterImage ImageLocation starts with /"
Merge "Make the datetime utility function coerce to UTC"
Merge "API to get the Cell Capacity"
Merge "Moving `test_misc` tests to better locations"
Merge "More detailed log in failing aggregate extra filter."