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

This reverts commit 9fd4100d491af6188bd9852cb6d653450a60f0ea.

Reverting ac6a8422b021810e7899abf9910fa1a51f13a420 did not fix the
Travis CI build, so I'm reverting back again.