Update runtests.py for compatibility with Django 1.7.
Update tox.ini.