Implement FromJSVal<IObject*> safely
By making all GUI proxy objects share the same class, we can easily confirm if a given JS object is one, and from there convert to the appropriate types.
Differential Revision: https://code.wildfiregames.com/D3907