Added JS event on URL error

The event will be dispatched when a URL cannot be opened because no external application can handle it (e.g. 'twitter://').
Example of catching the event:
window.addEventListener("urlnothandled", function(event) { alert(event.url); });

See #862.