Add cancel build endpoint

Reviewers: cf, zviad

Reviewed By: cf

Differential Revision: https://tails.corp.dropbox.com/D36367