Save registered ores in a table, as is done with biomes.

This would be better done with `table.insert(core.registered_ores, oredef)` (it's cleaner and more understandable).