When updating the branch status, update the appropriate commit instead of always updating the head

Currently whenever the branch status is updated to indicate whether tests are passing or failing, we always mark the head commit. This is bad, because it can result in code being merged in and deployed that hasn't been tested.

When hubot receives instructions to run the tests, save the commit. As test results are received, retrieve the saved commit and update it.