Updated express code samples

With the latest version of express, you get the following warning:

    Warning: express.createServer() is deprecated, express
    applications no longer inherit from http.Server,
    please use:

    var express = require("express");
    var app = express();