Allow timers and Date to be injected
Allow timers and Date to be injected

Rather than relying on setTimeout and Date globals, use the timers
module.  This way the dependency can be injected (e.g. using
proxyquire) for testing.

Signed-off-by: Kevin Locke <ffb4761cba839470133bee36aeb139f58d7dbaa9@kevinlocke.name>

kevinoid/appveyor-status,kevinoid/appveyor-status,kevinoid/appveyor-status