Add pull request info to Build model

* add `commit_sha` and `pull_request_number` attibutes
* extract stub helpers in pull_request_spec
* dry up tests