MB-9482 Add support for V8 versions post 3.19

Some of the v8 APIs have changed and newer versions does not support
copyable persistence objects. This commit conditionally uses older API
or newer API based on a macro definition `V8_POST_3_19_API`.

Change-Id: I37f45e59e0ee676b2cc1ac973883667187f7e03e
Reviewed-on: http://review.couchbase.org/30002
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>