Fixed the tests for Django 1.5, advertised py3k support
Fixed flake8 warnings
Added a tox config