Fix flake8

ran "autopep8 --in-place --aggressive" on each file + manual fixes
Merge pull request #2040 from jgmize/fix-flake8

Fix flake8
Add locales to jenkins workspace.
Merge pull request #2041 from pmclanahan/add-locales-to-jenkins

Add locales to jenkins workspace.