Move VersionResolver to Repository module

[#51720657]
Merge 51720657-move-version-resolver-to-repository to master

[Completes #51720657]