Updated HACKING doc to include specific PEP8 exclusions.
Cleaned up PEP8 issues in the sample code.
Cleaned up PEP8 issues in the test code.