XWIKI-10352: All Oldcore Utils component related APIS should use context CM by default
* Fix the failing IRCBot API unit tests by rewriting them using Mockito.