Support of webpage.onError

It is the callback called when a JS error occured in the web page
or during evaluation of some javascript code injected in the web page.
Fixed a regression on the use of a Proxy with Firefox 20

see https://bugzilla.mozilla.org/show_bug.cgi?id=876114
require.path: mapping should not sort after setting a new path