Added undo/redo support for move transaction which uses scope.

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