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)
this colon should put on the above sentence.

```javascript
var file = response.file ?
        response.file.indexOf("/") === 0 ?
        response.file :
        path.join(this.basepath, response.file) :
        this.fileFromRequest(entryUrl, response.file, req, this.basepath);
```