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).
If you don't include subdomains, HSTS can't protect you from MITM CSRF.