Adds pylint to testing. Travis now uses tox. Adds test-requirements.txt

* adds pylint as an extra check in tox
* makes travis leveage tox so each test only need to exist in one place
* Fixes an issues that pylint brought up.