Initial fixes to support Django 1.6

These changes allow the app to run using Django 1.6.5, although some
features have not been tested.
Merge branch 'django-1.6'
Add wsgi module