feat($time): create time service

Add simple $time service to allow easier mocking dates in applications.

Closes #10402
I think that just returning a function would be better