XWIKI-7936: When you import a page, that have no attachment and overwrite an existing page containing attachments, some errors appear with them.

* We remove from the database all attachments that are not in the new version of the document.