PEP 8 and pylint fixes for weevely.py

Just some pylint and PEP 8 fixes. I haven't run the test suite against these changes, but none of them should have any effect on functionality.

This patchset mostly contains whitespace fixes, PEP 8 fixes (line length, spacing around operators, etc) and pylint fixes (unused imports etc).