More endpoint updates (express.js 4.x Router)

- started using express.js 4.x Router API
- `pull_request` has a `status` argument for filtering
- tweaks to the db document schema to support this