Check pep8 with travis

An `.editorconfig` file has been added for unifying the coding style
for different editors and IDEs.