Update server.js for newer versions of Express

app.configure() has been removed from Express: https://github.com/visionmedia/express/issues/936