Added pylint. Fixed lint errors.
Merge pull request #1 from xelrach/lint

Added pylint. Fixed lint errors.