refactor into message classess
move functions related to updating the window into ChatWindow class
move everything into a class higherarchy using coffee script
bug fixes and additional cleanup
Better socket, with multiple event handlers and better reconnect logic
Merge branch 'refactor-ui'