Merge 0.9.25 branch pre-macOS fixes. Discard desyncing changes at nemo's direction
Lua scripts for engine testing. These scripts are the same as other Lua scriptsin Hedgewars, but you ought to call `EndLuaTest(TEST_SUCCESSFUL)` or`EndLuaTest(TEST_FAILED)` when the test is completed.