[#996] Automatically adjust site.root to use https / http

Also adjust views to just use site.root instead of site.ssl.root (since
the latter is now unnecessary)

Fixes #996.