Fix some pylint violations.
Add pylint config and pylint tox target.