Reject the promise with a JavaException in TestHarness::getNumDifferingPixels. Fixes #777
Merge pull request #778 from marco-c/reject_JavaException_in_getNumDifferingPixels

Reject the promise with a JavaException in TestHarness::getNumDifferingP...