Add Settings interface for Lua

This will be used for the mainmenu to read world.mt.
Its also very useful for mods that have their own config files or want to easily save data that should be more readable than minetest.serialize().