Add taskotron gating to the mash process.

Also, mock around it in the masher tests.