* This is a massive patch that aims to clean up the codebase
and bring it into compliance with HACKING.rst and PEP8 in one
fell swoop.
* Cleaned up use of gettext.
* Updated log usage for consistency.
* The tests run successfully against all plugins except
cisco and nicira (due to dependency issues with these plugins).
* Addresses bug 981208
Change-Id: I4d8c7ab138d8f7bb906d18dc34f88f8bd0581c19