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 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
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"