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

Change-Id: Id0d4695b6a7c5eae0493e679345bd41d4687d6d7