fix cmake tests
less useless debug info
remove unused
Fix console spaming by debug function on mod checking for global variable to exist.
new: --autoexit 13    : exit after 13 seconds and print profiler (for benchmarking)
Merge remote-tracking branch 'minetest/master'