XWIKI-9595: Ask confirmation for pages not needed anymore before deleting them
* Add script API to create an uninstall request in order to be able to uninstall an extension in non-interactive mode (required by extension tests).