Tr test changes

Lots of refactoring of the TR test system.

* Adds a uniform interface over test suite files
* Removal of lots of deadcode and unused behavior
* Slight improvement to the test failure messages.