Made undo/redo shortcuts work in tile animation editor

Also update the frame list as appropriate and make sure only one undo
command is created when deleting multiple non-consecutive rows at once.