Cancel pull request
Fix typos
Use forms with POST method to merge and cancel requested pulls
Check if the forms validate which ensure the CSRF protection
Merge and cancel pull-request must use POST requests
Rename the request DB object to pull_request to not conflict with the flask request object
Check if there is a parent before generating the diff
Move the repo_commit variable where it is used and remove it where not used