PLA-1549

Wrap global state and end the misery (pun intended) of categorymembers
core api.
PLA-1549 Address CR remarks
PLA-1549 Bumping cache version
Merge pull request #4568 from Wikia/PLA-1549

PLA-1549