A bunch of cosmetic changes to be more compliant with PEP80 and pylint. And I added a pylintrc so that we can ignore some rules that just add too much clutter.