Added client socket close detection.

Added code to allow us to determine if/when the client closed
his/her end of the socket. This is necessary to allow us to
disallow commands to be sent when there's no place to go.
Created example node access to mongodb.
Enhanced to display the values formatted pretty.
Making the output pretty.
Refactored and added websocket client.

The original JS was not dry. Also added the WS client stuff to
get robot notifications of connection/disconnection.
Properly formatting the tube name for commands.

Needed to properly format the tube name so that the commands
issued by the web client are properly sent to the robot.
Merge branch 'master' of github.com:FellowRoboticists/telep