Fix thread-safety issues in native bindings replacing Nan::Persistent
with v8::Eternal
#1419
+48
−24
Nan::Persistent
with v8::Eternal
#1419