Reject image promise on error and add onload handler for none file urls.
Merge branch 'fix-image-load2' of https://github.com/brendandahl/j2me.js into brendandahl-fix-image-load2
Reject with a MediaException
Merge branch 'brendandahl-fix-image-load2'