Enable all lints from the rust-2018-idioms suite.
Additionally, fix the violation of the bare-trait-objects lint.
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.