Removed socket.io
Removed reference to socket.io from package.json
Updated mongodb driver

Added a strict mode to get an error when trying to use a non-existing
collection
Use Db.connect instead of new Db().open
Moved public/lib to public/js/lib
Added requirejs library
Switch to requirejs to load scripts
Removed trailing commas (and fixed jshint conf file)
Used requirejs text plugin to load templates asynchronously
Removed headerView
Initialize AppRouter on dom ready
Removed duplicate
Created main route modules
Moved logic into each modules
Add dependencies to routes/home.js
Added dependencies for routes/about.js
Added dependencies for other routes : add, list, view
Added back forgotten global app variable

viewdetails makes use of it : app.navigate
Switched all views/models/collections to AMD
AMD main.js