Generalized the test driver a tiny bit
Use function instead of module to avoid leaking global variables
fix for when running under wine. also fix test_pretty_print bug
clarify error message when no image is generated
Merge pull request #299 from openscad/testdriver-fix

Testdriver fix