Rename ignore file
Add script that checks PEP8 compliance with flake8
Fix everything that flake8 complains about
Use Python-2.6 json library instead of deprecated django copy

Minimum Python version is now 2.6.