Sync repository hook status with GitHub

Closes travis-ci/travis-ci#1359.