Use pylint to refactor codebase.

Examine every python file in the project using pylint. Silence many errors
either by fixing them or ignoring them.