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

...o the main branch
you're right, after cleaning up the code, it's evident.  I combined it to a single method, with an additional parameter specifying whether it's the reference images or actual shots