Cleaned up logger.lua and settings.lua, they were checking if
`minetest` was nil, and if so neglected to do anything. They
now assume tests set the global `minetest`.