Functions to get enums added to Core.rsc

Started adding M3 code to handle enums. There actually is a special type for them!