use minetest.register_on_mapgen_init to set mapgen to singlenode, closes #1