v8: add a js class for Serializer/Dserializer
Calling Serializer/Deserlizer without new crashes node. Adding a js class which just inherits cpp bindings.
Fixes: https://github.com/nodejs/node/issues/13326
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes (test failing on master too) -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines