add flake8 check for better coding style.
Merge pull request #79 from lxyu/travis_pep8_check

Add pep8 check to travis