implement deleting builds

removes the build's data from the scheduler and waits for it to complete

does *not* imply aborting the build; this should be done independently