object_instance_new_resolve should only be on prototypes
Submitted by Colin Walters
Link to original bug (#597853)
Description
Currently gjs uses the same JSClass for both object instances and their prototypes. This causes things like GObject property lookups "foo.mapped" to check for methods named "mapped" through the class and any interfaces, failing, and then falls back to looking up in the prototype where the properties are.