WIP: Integrating django-secure

For background info, please see the [django-developers thread](https://groups.google.com/d/topic/django-developers/t8ybImtdnpM/discussion).
This message needs updating to reflect that the settings are now in a dict.