Add better coverage support under tox

For those in the community who don't use run_tests.sh but want
tox to have coverage support this small change should help.  It
adds coverage erase, combine, html reporting.  It also
fixes the coverage unit tests in two ways.  The first is
adding the locking like normal unit tests. The second
is adding substring regular expression matching to pick
a subset of tests.  This brings it up to closer par with
run_tests.sh.

Change-Id: If9ea229425dc9a191fa7c5cc073cf5da412a69b7
Support detection of fixed ip already in use

Update the validate_networks method to detect when a fixed ip is
already in use and raise the FixedIpAlreadyInUse exception

Change-Id: I07f83ce654c909b1158315dfc21a40654bc34a47
Closes-Bug: #1247844
Update HACKING.rst to include N320

Commit 9235ada8c2c250603dc5b299cc08bb7a982d4fc6 did not add in
the updated hacking rule.

Change-Id: If2daf6d2e7008c36d0aba6270ac034522dcb2e2b
Closes-bug: #1325812
Add missing translation support

Update a number of files to add missing translation support.

The patch adds a new hacking check - N321. This ensures that
all log messages, except debug ones, have translations.

A '# noqa' indicates that the validation will not be done on
the specific log message. This should be used in cases where
the translations do not need to be done, for example, the log
message is logging raw data.

Closes-bug: #1290261
Change-Id: Ib2ca0bfaaf432e15448c96619682c2cfd073fbbc
Add development policies section to devref

We now have a whole bunch of unwritten development policies about what is
allowed and what isn't, it is time to write some of them down.

A subsequent patch will add the first policy.

Change-Id: I91c2eb2b937f38b3b3c5380ac93fa0ce0f5e4156
Add out of tree support dev policy

Record what our policy is around supporting out of tree code.

Change-Id: I718ef7f0b6c29a85be89292d051f07b4cdd32676
Add test to verify ironic api contracts

Since the ironic nova driver is out-of-tree, changes in nova can
cause chaos and destruction if ironic is not considered. This adds
a unit test to attempt to warn/notify developers of the dependencies.

Change-Id: Ic9be8e98975684972f944d3ec335b1c3af87cc10
Cleanup allocating networks when InstanceNotFound is raised

Allocated networks were not being cleaned up if InstanceNotFound was
raised after the allocation request was made.  This ensures that the
cleanup happens for this case.

Also bypasses exception logging that should not occur in this case.

Change-Id: Icd544752444415812714d91971e45b3ae2fb68ee
Closes-Bug: 1324934
websocketproxy: remove leftover debug output

Someone reported the following very long entry in their
/var/log/messages:

  Jun  6 15:00:16 gprfc041 nova-novncproxy: }}>>{<{<}>{<{<}> [...]

It turns out that this is from some debug code left in this module.
Just drop it.

Change-Id: I392f599e81790376dab11f9323430ee9abcff444
Merge "Add better coverage support under tox"
Merge "Support detection of fixed ip already in use"
Merge "Add development policies section to devref"
Merge "Add out of tree support dev policy"
Merge "websocketproxy: remove leftover debug output"
Merge "Add test to verify ironic api contracts"
Merge "Cleanup allocating networks when InstanceNotFound is raised"
Merge "Update HACKING.rst to include N320"
Merge "Add missing translation support"