It's useful to be able to tweak the homeserver config to be used for each test. This PR adds a mechanism to do so.