Fix jshint and csslint paths on tests.
Fix flake8 issues.