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 next step would be to integrate it for maps other than mainland.
Issue: As mentioned by @marder this mode is not recognized by the current AI