Pep8 and pyflakes tests in Travis

Include pep8 and pyflakes tests in Travis. This uses the same pyflakes as suggested and developed by [David Cramer](http://justcramer.com/2012/05/03/using-travis-ci/), one that can ignore warnings.

This also fixes the pep8 errors and warnings foundation already had so our code base is now pep8 and pyflakes compatible.