Mapgen now spawns using the item factory. Re-added accidently removed line that loaded in existing items from item file.
Renamed Item_manager to Item_factory, removed extraneous typedefs, cleaned up some details.