use NanFromV8String

Even though you assume the string is UTF8, if the string is external
then we can bypass several expensive operations. It also simplifies the
code because it automatically handles Buffers.