[Hibernate-JIRA] (HHH-7540) Allow integration hooks into all steps of building a SessionFactory