flushMicrotasks and flushTimers
make flushTimers timeout relative to elapsed time
Merge pull request #179 from yjbanov/flushing-things

flushMicrotasks and flushTimers