Prepare release 0.5.0
Add reset method to UndoManager