Added support for reopening types.
Made all types reopenable.
Made built in types use MetaType so they can be reopened if the can reopen flag is set to true.