XWIKI-11050: Do not fail the UI when there's a problem rendering the document's content
* Added missing logging
* Also fix getIncludedPages() which shouldn't fail if the doc fails to be parsed. It's used in Panel.Information in edit mode for example