updated postgres database/user creation (turnkeylinux/common efb2ef9e)
bugfixed path: /var/logs -> /var/log
deactivate virtual environment when no longer required

rational:
    - supervisor won't run correctly when started within venv
    - good practice to deactivate what we activated
stop services we started (supervisor, postgresql)
don't start supervisor/tendenci during conf (redundant)
utilize mkdir -p and rm -f (replacing if statements)
refactored conf (no functional changes)
generate SECRET_KEY using mcookie (inline with inithook secret regen)
restart supervisor/tendenci if running when secrets are regenerated

rational:
    - changes will only take effect upon restart
    - this supports turnkey-init on headless deployments
refactored tendenci nginx configuration and added SSL support
added https to confconsole services
added 80 and 443 to webmin firewall rules
removed escaping from inithook (no longer needed since turnkeylinux/common efb2ef9e)
tweaked readme
Merge pull request #1 from turnkeylinux-apps/initial-tweaks

Bugfixes, tweaks and refactoring