Make it compatible with express 4.0.0 +

app.configure has been deprecated since 3.13.0 / 2014-07-03 and is now removed since 4.0.0 / 2014-04-09. See <https://github.com/strongloop/express/blob/master/History.md>.

localhost socrates.io works fine with this little fix.