Move init-* cmake routines into utility folder.
Abstract core of CPM_EnsureRepoIsCurrent.

Primary abstraction is the _cpm_ensure_scm_repo_is_current macro in
CPMCommonSCM.cmake.