Fixed #17101 -- Integrated django-secure and added check --deploy option

For background info, please see the [django-developers thread](https://groups.google.com/d/topic/django-developers/t8ybImtdnpM/discussion).
sounds like a good change to me