HHH-7772 Remove obsolete Type, AssociationType, and TypeFactory methods

it is new version of https://github.com/hibernate/hibernate-orm/pull/467 (metamodel branch)