src: preliminary update to new Persistent API

Large changes are coming down the pipe from v8 for how Persistents are
handled. These changes are preparing node for these.

This is still a WIP. There are still several things that need to be updated, and I'm hoping others can direct me to doing this in a better style.

/cc @bnoordhuis @isaacs