Import and convert to oslo loopingcall.

Import the oslo looping call implementation (which is a copy of
nova's), delete nova's local copy, convert all users to the new
location.

It should be noted that the oslo implementation of
FixedIntervalLoopingCall measures time from the start of the
periodic task, not the end, so periodic tasks will run with a
constant frequency instead of the frequency changing depending on
how long the periodic task takes to run.

Change-Id: Ia62ce1988f5373c09146efa6b3b1d1dc094d50c4
Translate NoMoreFloatingIps exception

When the pool of floating ips is exhausted the NoMoreFloatingIps exception
is raised but not handled properly in the floating ips extension resulting
in the exception propagating further up and causing a stack trace to be logged.

This change translates the exception explicitly into a HTTPNotFound, preserving the current
REST API behaviour. It fixes a bug where the pool name was not correctly inserted into
the message returned if allocation from a specific pool was requested.

Fixes bug 1169811

Part of blueprint no-stacktraces-in-logs

Change-Id: I8f35d25d065bb1fa709cff6f59841ac8c86658bd
Remove unnecessary full resource audits at the end of resizes

Both confirm_resize and revert_resize ends with full resource audits
which is unnecessary, given that correct calculations can be made
using existing claims.

Resolves bug 1169982.

Change-Id: If0f91651605a95e73fdbf88aa18c279bfaf73b04
Add unit tests for /db/api.py#fixed_ip_*

Implements: some tests for db methods fixed_ip_* for blueprint db-api-tests
Change-Id: I51fe24600b7df2b529350ad70939a01f60bd3c9c
Add missing test for db.instance_type_destroy method

This test checks that if there is no such instance_type
then is raised exception.InstanceTypeNotFound

blueprint db-api-tests

Change-Id: I0a0db7aaefe6ac781c520e3b90958800db8fd52b
Move db.instance_type_extra_specs_* to db.instance_type_* methods

All instance_type_* methods should be one after another

blueprint db-cleanup

Change-Id: Icc69c45dbcb3dcea5f81266a11f726b5b3215e27
Merge "Remove unnecessary full resource audits at the end of resizes"
Merge "Add missing test for db.instance_type_destroy method"
Merge "Move db.instance_type_extra_specs_* to db.instance_type_* methods"
Merge "Add unit tests for /db/api.py#fixed_ip_*"
Merge "Import and convert to oslo loopingcall."
Merge "Translate NoMoreFloatingIps exception"