Cleanup in app.stop()
Move http port from settings to code.
Set app.locals.site as object.
Support https.
Support https.
Merge pull request #42 from leftclickben/master

Https and code cleanup