Move Test::Unit detection methods into their own module.

To make it consistent with the MiniTest detection code.