Testdriver fix

Don, since you touched this last, could you take a quick look to see if I messed something up?

The idea is to generalize the test framework a bit to be able to run more tests using the real OpenSCAD binary as a test driver without writing wrapper binaries.