Exact stack rooting for simulation message type conversions.

Also replaces some deprecated API (jsval typedef and OBJECT_TO_JSVAL) in that part of the code.

Refs #2415


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15624 3db68df2-c116-0410-a063-a993310a9797
Prevent copying of ScriptInterface objects.

Copying a ScriptInterface is not allowed. The destructor destroys the JSContext and if there's a copy around that still uses it, that causes crashes which can be quite hard to debug. This change prevents copying by of ScriptInterface objects by making the copy constructor private, which will reveal such errors at compile time.


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15625 3db68df2-c116-0410-a063-a993310a9797
Modifies r15625 to use the NONCOPYABLE macro as suggested by leper. 


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15626 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' into ESR31

Conflicts:
	source/simulation2/scripting/MessageTypeConversions.cpp