Fixes compartment mismatch introduced in r15549.

Also modifies some related functions to use SpiderMonkey stack rooting types instead of CScriptValRooted.

Refs #2415 


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15561 3db68df2-c116-0410-a063-a993310a9797
Removes rooting test.

Rooting works different now and the CScriptVal types are going to be removed. We will need rooting tests again, but they will have to work completely different than this test implementation.

Refs #2415


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15562 3db68df2-c116-0410-a063-a993310a9797
Some changes on the VisibilityUpdate message system, aimed at correcting recent OOS problems.
I still experience troubles with serialization tests but I played a few games without OOS. At least these changes will help us to debug more efficiently the remaining problems.

Fixes initialization of visibility data and update order for LoS-related systems (territory borders, etc).
Also removes a C-like array and fixes a player ID shifting.

Refs #599

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15563 3db68df2-c116-0410-a063-a993310a9797
Automated build.

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