Cleanup|ResourceSystem|MapDef: Moved MapDef impl to resource/mapdef.cpp