Change using express version 4.
Remove app.configure() because the is no longer available on express 4.
Add many requires because the bundled middleware is no longer available on express 4.
Remove this because app.use(router) has been removed from express 4.
Add more middleware.
Fix wrong arguments of lessMiddleware and express.static.