TestTimeUtil: Add methods for temporarily setting clock step
TestTimeUtil: Add methods for temporarily setting clock step

A test may want to use a different clock step or freeze time only for a
portion of a test method. Add some methods to make this easy with an
AutoCloseable.

Change-Id: Ie90504cceae73595dacc14a565179596fe3b96f3

WANdisco/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,GerritCodeReview/gerrit