Make hasOwnProperty() work with indexed properties

src/js/bridge.cpp (NativeClass::NativeClass): Set jsclass.resolve
src/js/bridge.cpp (specialResolver): New; if the specified indexed property is found, set it as a real JSObject property to make the JSAPI engine happy. Otherwise, the engine assumes the object doesn't have the specified own property.
src/js/bridge.cpp (specialOp): If a real JSObject property created by specialResolver exists, remove it to support live host objects