Expanding working routes's test conditions successfully
Merge pull request #21 from yoavgurevich/rtests2

Unit tests for routes
Add client side code
Merge pull request #22 from gideonthomas/clientDemo

First swing at client side code/demo
Added server-to-client socket unit tests, with util methods

Most of the work here was in setting up the util module to make testing syncing over a socket, and connecting to a socket, easier. The exact mechanics of this will change as our spec does, but the changes to the test suite will be minor compared to if this patch was never done.
Fix for client can't connect to the websocket
Added an auth solution for websockets

Until we figure out how to intercept the HTTP get request that is upgraded into a websocket, we will be using a token-based system to indicate that a websocket can be trusted. Anyone can open a websocket with the server with this approach, but only authenticated users will be able to get a token allowing them to use it.