Add HTTPS support

Add additional django setting if djangopypi2 is served over HTTPS.
See [here](https://docs.djangoproject.com/en/dev/topics/security/#ssl-https) for explanations.