nine: start testing the buildrequest fakes

This is the same content as https://github.com/buildbot/buildbot/pull/819 , but based on the nine branch.

Unfortunately I did this work first, then had to rebased from nine to master, so there is some history duplication here, but it should (hopefully) all merge together fine.