Support of webpage.onResourceError

Not all error codes are supported because there are not always
the possibility to have the same correspondance.

Closes #92