Added new undo/redo methods which uses the new undo/redo stacks in
model.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>