Fix a bug in ObjectConstructor test.
Improve API design.
Improve API design. Make callback function can get current context scope.
add ArrayBufferAllocator support