Reject image promise on error and add onload handler for none file urls.
Add support for online and offline events; don't always assume there's an internet connection available. Fixes #722
Add test for phone-status notifications
Set appendIndicator parameter in TestNokiaActiveStandbyServer to what we expect it to be
Merge branch 'master' of https://github.com/andreasgal/j2me.js into phone_status
Update number of passing tests
Add comment for the change of bug #721.
Add test for offline notification
Add tests for localmsg://nokia.product-info
Merge pull request #723 from marco-c/phone_status

Add support for online and offline events; make nokia.phone-status return correct connectivity info
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'
Merge branch 'pzhang/test-nokia.product-info' of https://github.com/PinZhang/j2me.js into PinZhang-pzhang/test-nokia.product-info

Conflicts:
	tests/automation.js
Merge branch 'PinZhang-pzhang/test-nokia.product-info'
Revoke object URL to avoid ImagePlayer's leak. Fix #706.