#2 Implementd draft of socket connection.
Styling.
#2 Implemented some javascript logic and tests.
#2 Implemented EventDispatcher.
#2 Implement draft of server side connection handling. Implement eventhandlers client side.
#2 Refactored socket.go.
Merge pull request #5 from OrangeTux/#2

#2