Minor refactoring after pychecker and pylint.

git-svn-id: svn://graphite/hackamore/trunk/Hackamore@153 57787f05-46dc-4277-aca0-fea81b7b9c9c
Refactored unit test threads not to require global variables.

git-svn-id: svn://graphite/hackamore/trunk/Hackamore@154 57787f05-46dc-4277-aca0-fea81b7b9c9c