Use *mut T for the T* pointers in SpiderMonkey.
Pass an immutable pointer to the private in NewProxyObject.
Make GetProtoOrIfaceArray return the actual type.
auto merge of #2487 : Ms2ger/servo/sm-mut, r=jdm