Update to use Express 4.

Decided that rather than just offer, I'd actually do it. These are the required changes if you want to use Express 4. Primarily, all the Middleware has been broken into separate modules, which I have included and referenced from the app.js.