AI: Rewrite TestMolotov
The old function was broken, the AI just refused to use the molotov, ever
Lua scripts for engine testing. These scripts are the same as other Lua scripts
in Hedgewars, but you ought to call `EndLuaTest(TEST_SUCCESSFUL)` or
`EndLuaTest(TEST_FAILED)` when the test is completed.