A first revision of support for undo/redo of model removal. This is only
a partially working solution.

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