Make caching optional when using CPM_EnsureRepoIsCurrent.

Upgraded readme example to utilize repo caching of GLM.