Ultimate Tic Tac Toe progress

Added skeletons for database calls, implemented the new database calls
in the javascript.  Fixed some issues with sockets.