XWIKI-11387: Display an icon from a specified icon theme.

* Refactoring.