PLATFORM-386 random wiki fatal error

WikiFactory::getCategoryId was deleted, and I missed 2 calls for it, which need to change to use WikiFactoryHub.  During investigation of a separate bug I discovered that the memcache keys for the categories were pretty messed up, so I merged that fix as well.