Fixed socket.io script not loading and started database support

socket.io is loading fine and printing messages to the console; all that remains to be done is connecting up the route and view so that the information is displayed.

I added the database dependencies to package.json, and created a file in /lib called database.js that has the Sequelize for the database definitions, and some table definitions and relations.