fix python code style to conform to PEP8 ( http://www.python.org/dev/peps/pep-0008/ ). mostly whitespace cleanup. no functional changes
fix nosetests missing one test.