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...
Merge branch 'master' of https://github.com/andreasgal/j2me.js into fix_photos
Only test that fileconn.dir.photos is longer than 8 characters