Buck nine yakshave brd tests

This removes duplicate code, and also provides me with the Slave and Builder facilities I need to test the upcoming brd-deadlock fix.