New game mode, capture the wonder. Suggested by @wowgetoffyourcellphone and also did a map long ago that had this same mode, so finally decided to make it happen.
Currently the mode only is for wonders but you can change the wonder for any other valid entity and should still work. See `captureTheWonderProperties.xml` for more.
Made it compatible with WonderVictory.js so you can play both at the same time. The crucial difference is that in this new mode the entity to capture (wonder) will have an extra component called <CaptureTheWonder> that tags the entity.
For now only mainland is compatible with this mode. A map will be considered compatible with this mode if it has the `"SupportsCaptureTheWonder" : true` in his setting's JSON or xml equivalent.
The only thing that doesn't work is the gamesetup `CaptureTheWonder` checkbox. When the map is not compatible it should not allow to enable the checkbox but the code that checks that doesn't seems to want work properly.
Suggestion for that last issue welcome and other stuff too. Apart from that this should be considered done. The next step would be to integrate it for other maps.
https://wildfiregames.com/forum/topic/60341-capture-the-wonder-or-wonder-of-the-world-game-modevictory-condition/?tab=comments#comment-460269