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

...o the main branch
done. didn't know about docstrings.  applied to all methods.  thanks!