add ITypeFactory and TypeFactoryProxy
isolate org.hibernate.metadata.ClassMetadata and replace by org.jboss.tools.hibernate.spi.IClassMetadata