Do not convert to NativeObject if it is the primitive type.

Currently, the field type of the Document is object not expected(string,
number and boolean) because ScriptableDocument converts it to
NativeObject.

This patch makes ScriptableDocument reuturn the primitve type itself.
Rhino engine will automatically convert Number, Boolean and String because
BeyondContextFactory set javaPrimitiveWrap as false.