Finished integrating socket.io for near realtime client data updates

* Redid the initialization step for socket.io on the server side
* Re-registered the socket service using a factory on the top-level
module for the angular app
* Removed all the socket services created for each module
* Used closure to transfer flow of control from the server entry point
in server.js to individual controllers for sending socket.io message
signals on db transactions
* Added lodash on the client side and registered a constant to access it
in the views as well as a scope variable for equivalent access in the
controllers
* Added moment for angular to pretty display time values on the client
side