Refactor PEP8 and PyLint tests for Travis