Add minetest.clear_registered_decorations() and clear_registered_ores()
NodeResolver: Fix some comments and use const references for params
Settings: Fix invalid memory access when setting not found in working mem