Replay setTimeout events

Refactor capture and replay of timeouts to clear id and handlers when
`Reanimator.capture` and `Reanimator.replay` are called.