test_i18n: Improved test yielding and error messages
tests: Fixed flake8 issues

mostly import cleanups
tests: Added tests folder to flake8 checks
test_flake8: Run flake8 for each folder separately
requirements: Update pytest to v2.5.0