lib: refactor prototype and Function.call.bind usage
Moves usage of Object.prototype.* and methods saved with Function.call.bind to a single "primordials" "meta module" which ensures the safety of the method, cleans up the lib a bit, and i think also plays nicely with when we start doing snapshots in the future if @hashseed can speak to that.
This is intended to sit on or maybe replace #18750
Fixes: https://github.com/nodejs/node/issues/17434
cc @apapirovski @hashseed @BridgeAR
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
crypto, assert, async_hooks, lib, bootstrap