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

...o the main branch
oh actually get_active_frame() seemed to store the reference correctly.  Let me know if I'm using it wrong.