Various bug fixes

* Function pointer for JavaScriptCore
* Natural array typemap
* FinalizeCallback
* Static class member