use named enum for TypeInfo_Class.flags
use named enum for TypeInfo_Struct.flags
Merge pull request #2591 from dawgfoto/classFlags

named enum for ClassFlags and StructFlags