Wrote the socket.io code to keep topics and comments updated live

This is commented out in the client-side js because I haven't yet added
socket.io to require.js....but the code is 90% there.