Writer: Set document as modified and add undo when renaming bookmarks

Change-Id: Id0d4695b6a7c5eae0493e679345bd41d4687d6d7
(cherry picked from commit c7fa6687e544e7f9702da23aadbd31c1f2e0115e)
Use IDocumentMarkAccess::findMark here

Presumably, the names should be unique, so it's the same.

Change-Id: I74907b97bc25f9512d4f7514162360e8b21ad4a5
(cherry picked from commit 43a803ccf8d392561bd168dc3b64695c4dcf93ce)
Add message to exception

Change-Id: I0e7cf850b51343e4afc1ea0a0409ad2c4e596435
(cherry picked from commit 373daf55d98ba706d3dea131e755da3a00eb259f)
fdo#51741 Mark document as modified on bookmark rename / delete

Change-Id: I378037ea546d0f2dc4ab9e0b0e6f9bf65c8db5b4
Deletion: overrided DdeBookmark::DeregisterFromDoc in Bookmark
Renaming: in MarkManager::renameMark
Reviewed-on: https://gerrit.libreoffice.org/12436
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit f0c4cd51cb160492d78c2796f71ecd88da25fa59)
Add undo operation for deleting a bookmark + unit test, related fdo#51741

(cherry picked from commit 9338bea6e8dfab8d360fe8ab19dd5d75071bfc2a)

Conflicts:
	sw/qa/extras/uiwriter/uiwriter.cxx
	sw/source/core/undo/unbkmk.cxx

Change-Id: I79d8d3c30b6b0b2cc253963fdd50019aec033e12