It appears that `Ref::WeakValueMap` is not 100%
correct. There are cases where entries are
temporarily corrupted; probably while attached
finalizers run.
This is a slight decrease in flexibility in that
strings and primitives cannot maintain referential
integrity when passed by reference to v8, but the
default is to pass them by value anyway, and it
greatly reduces the number of object_ids that the
idmap sees and therefore reduces the chances of
a recycled object id causing a bad lookup.
While this is not a perfect fix, it does make a
collision very unlikely, and it prevents the
crashes being seen in #169
If this pops up again,
we'll have to look at getting a perfectly reliable
weakmap implementation.