Use ES6 Maps in the AI API for applying tech and aura modification to entity templates.
This should improve performance a bit (check the ticket for details).

Refs #2475


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15781 3db68df2-c116-0410-a063-a993310a9797
Fixes crash in Atlas color picker tool, noticeable with wxWidgets 3.0. Colors returned by `wxColourData::GetCustomColour` aren't always valid, so we have to test them with `IsOk()` before accessing them. Fixes #2805

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15782 3db68df2-c116-0410-a063-a993310a9797
Updates precompiled win32 SDL 2.0.3 libs to fix the system beep sound whenever an Alt hotkey is used, patch applied from https://bugzilla.libsdl.org/show_bug.cgi?id=2669
Refs #2041

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15783 3db68df2-c116-0410-a063-a993310a9797
Petra: decreases size of attacking armies in easy level

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15784 3db68df2-c116-0410-a063-a993310a9797
Cleans up handling of SDL2 text input events, no behavior change expected.
Implements SDL2 text editing handler for input fields, this is for IME support, so users entering CJK text can see what they're composing before committing it. Should have no effect on SDL1 or normal text input.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15785 3db68df2-c116-0410-a063-a993310a9797
Adds --sdl2 flag to update-workspaces.bat, making SDL2 the default on Windows, refs #2041

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15786 3db68df2-c116-0410-a063-a993310a9797
Tunes GC scheduling a bit to reduce memory usage.

The main problem was that GC was only called from the simulation before this patch. This means when you were waiting in the multiplayer lobby or just had the GUI open, it only called GC when getting close to the JS runtime size limit (I assume). Another problem was the Net Server runtime which didn't GC either. Here the runtime size limit is 16 MB though, so it's not too terrible. These issues have both been addressed and GC has been given a bit more time per incremental slice to make sure it gets done in time. It's still far from perfect, but there are too many changes in SpiderMonkey related to GC, so I don't want to spend too much time on this yet. 

Refs #2808   


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