Made IClock internal and moved it from InfrastructureContracts back into core.