REST API endpoints for pull requests

Use the REST API to manage pull requests and pull request reviews.