reinstalled node modules
fixed Promises syntax errors
fixed syntax errors and npm installed polyfill-promise
removed pubsub file and all vim .swp buffer files
refactored code to inject dependencies in app.js file
reinstalled node modules
reinstalled node modules
refactored app.js because new require doesn't work
quick fixes to sockets.js
added a check for invalid number of args to not hit the db with that
returned the promise directly
added json.parse method to all of the queries and took out the row listener
removed the io.use method because headers are accessible without it
WIP refactoring sockets.js completely to use promises throughout