Added socket.io for message communication

Also added mocha for unit testing the backend stuff. The frontend will use socket.io-client to communicate easily with the socket.io server.