add full history undo/redo to time-travel.js
add comments and tests to time-travel.
Add time-travel test to suite.