Fix to allow list/show functions to be queried

I can now do this for instance:

```
    db.query('_design/doc-name/_list/list-name/view-name', function(err, body) {
        res.json(err || body);
    });