Added rough implementation of web socket server.
Added crash handler.
Moved sessionHandler to separate file.
Renamed sessionHandler file.
Made push be based on events.
Disabled db debug logging.
Put socket handling into separate class.
Made callback optional.
Implemented getUser.
Optimizations.
Removed temporary test file.
Merge branch 'feature/websockets'