implement build/job cancelling

merge after travis-ci/travis-api#70 has been rolled out