add PEP8 checks on travis with fixes wherever required

- exclude it on docs, tests, .git
- fix line-length issue in some file
- add #noqa for unused but required imports
- update .travis file
Merge pull request #3 from theskumar/flake8

add PEP8 checks on travis with fixes wherever required