Testing utils

This adds a bunch of testing utilities, and moves testing utliites to `relengapi.lib.testing` (c.f. #86)