XWIKI-10674: Cannot load CSS files from webjars
* Use Tika to determine the Content Type of the requested resource file.

(cherry picked from commit e97ef4070d2936cc734b24d4876d2f7e8741e430)