Workaround for issue #2486

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15565 3db68df2-c116-0410-a063-a993310a9797
Should be workaround for issue #2684

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15566 3db68df2-c116-0410-a063-a993310a9797
Better support for SpiderMonkey rooted types in the ScriptInterface.

* Adds additional overloads/specializations which are required when passing JS::Handle<T>/JS::MutableHandle<T> types to different functions. 
* Replaces GetPropertyJS with a GetProperty specialization.
* Allows us to avoid the implementation of ToJSVal specializations for JS::Value and JS::HandleValue. Such conversions should only happen if there's no way around it and if you are aware of it.
* Adds test to make sure that all potentially required specializations with custom implementations are instantiated. This should help prevent introducing bugs in temporarily unused code.

Refs #2415


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15567 3db68df2-c116-0410-a063-a993310a9797
Quite a lot of stack rooting related changes.

Changes GetProperty, SetProperty and HasProperty and a few other functions to take handles. The conversions to CScriptVal or CScriptValRooted at some places should be removed in the future. I've done that to avoid an even larger patch.

Refs #2415
Refs #2462  


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15568 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'