Advance time with each time(), gettimeofday(), etc. call
Merge pull request #20 from rbalint/deterministic-time

Advance time with each time(), gettimeofday(), etc. call