Fix config.ru and application.rb for web server usage.
Boyscout: Pass the lights table adapter to StatusParser.

StatusParser only needs access to Lights. Giving it the whole
DB repository is overkill.
Automatically determine whether to use secure websockets.