Updated to Express 4.0.0

Express moved several things, like app.configure and middleware. This
moves the app.set and app.use methods out to the global range (out of
app.configure) and moves to the independent middleware projects.
Added authentication with passport