process: add reportError
Fixes: https://github.com/nodejs/node/issues/38947 Spec: https://html.spec.whatwg.org/#runtime-script-errors
I'm opening as draft for discussion - mostly I want feedback on "are we sure crash on next tick" is the right behavior :] (I think it is but want opinions).
This is missing the wpts but that probably shouldn't block landing.
cc @mcollina @addaleax @linkgoron