Bug 1054326: Initial attempt to submit Imagecompare test framework and test cases int...

...o the main branch
The idea of temporary directories is that you just delete/create them as needed. We should avoid having to wipe out their contents.