XWIKI-8851: Add the ability to do a fake office import using the office viewer
* Add a generic CurrentMacroEntityReferenceResolver and refactor CurrentMacroDocumentReferenceResolver to used it. Also add CurrentMacroAttachmentReferenceResolver to be used by the Office Macro to resolve its 'attachment' reference.
* Refactor the Office Macro to use the CurrentMacroAttachmentReferenceResolver, thus taking into account the BASE meta data when resolving the 'attachment' parameter.
* Add a check box on the 'Import Office Document' dialog to allow the users to use the office macro when importing an office file. Unchecked by default.
* Enhance the WYSIWYG Editor's Office Import service to support an office macro based import.