Refactor runner code to work better with latest MiniTest.
Fix stderr and stdout references.
Temporaily remove detroit dependency.