Refactor style issues for pycodestyle tests to pass
Added to travis explicitly python 2.7, 3.4, 3.5, 3.6