ui_test_core: fix verifyImageMatchSnapshot with multiple images

The counter was not managed properly, it was never increased, so when
there was more than one assertion, they were all using the same
reference image.

Implement also the TODO that prevented to re-run a test.
2 jobs for fix/testXHTML_by_bt
Status Job ID Name Coverage
  External
failed SlapOS.Eggs.UnitTest-Master.Python3

failed SlapOS.Eggs.UnitTest-Master.Python3