Minor code clean up

pylint added, some pylint fixes (most errors disabled)
autopep8 fixes
Add rake tasks