core: Fix tests of plugins using user id for checking capabilities.
MoobotFactoids: Fix encoding issue in tests.
MoobotFactoids: Add count of recent/top factoids (removed while internationalizing).