XWIKI-10897: Provide API to flush rendering cache

Provide components safe way to flush cache for documents (single / whole)