Added undo/redo mechanism for PersistentVector. TODO: fix 1 test for undo empty list