Add generic undo support in darktable.
Clear undo list when switching views.
Add undo for image position (geo-tag) in map view.

This used the new undo generic support.