Revert "HHH-8285 Moving jpa/internal/metamodel and jpa/graph from hem to core"

This reverts commit 61483966a7ea139aa0989bdde112e57e55e3599f.