Move Bookmarks into the document_actions framework. Fixes #1024