reorganized settings.py if/else

now sendgrid, cumulus are enabled/disabled depending on presence
of env var. only djangosecure is always disabled in vagrant.