Create default instance in middleware if not found.
Bugfix for Django 1.5 / Python 3.

reverse_lazy doesn't work passed to HttpResponseRedirect with Django 1.5
as https://code.djangoproject.com/ticket/10491 was only fixed in 1.6. We
don't need to use reverse_lazy in these places so just remove it.
Version 1.1.

Includes Travis testing of Python 3.