Client side unit testing and sockets integration

Setup minimal client side unit testing framework and integrate Faye for sockets.

Closes #8 
Closes #9