Add tox support

Although there are still failures with the Django 0.4 branch.