remember templates and their contexts
calculate selfType directly in validateParentClasses
move calculation of synthetic ModuleDef parents into typedParentTypes
refactors typedTemplate
c.introduceMember