Fixes a crash introduced in r14645 by ensuring that the CScriptValRooted values are destroyed before calling JS_DestroyContext.
I've tested the performance on Combat Demo (Huge) again with the code from #2394.
It's very close but probably a little bit lower (hard to tell because it's so close).

Closes #2408
Refs #2394 



git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14705 3db68df2-c116-0410-a063-a993310a9797
Backend for special formatting of moderaters in the lobby userlist.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14706 3db68df2-c116-0410-a063-a993310a9797
Applying the new improvements: English Channel, Fortress
More cleanup and tweaks.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14707 3db68df2-c116-0410-a063-a993310a9797
Fixed iberian corral cloth ao texture assigned

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14708 3db68df2-c116-0410-a063-a993310a9797
Make my last commit C++98 compatible.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14709 3db68df2-c116-0410-a063-a993310a9797
Implements resource trickle. Allows decimal player resources. Fixes #2413.

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