Refactor setupEntries and export route

Refactor setupEntries

Export route to use middleware like this
```
    var myapp = express();
    myapp.use(stubcell.route);
    var server = myapp.listen(9000);
```

Require merge [stubrec](https://github.com/yosuke-furukawa/stubrec/pull/1)
wow, v0.11 has http.METHODS, but v0.10 does not have the property...
OK, define the variable as constants at the top of the code.