Clean up PredictionContextCache
Add misc namespace to IntegerList references.

Also reformats the file using clang-format.

(We’ll probably drop IntegerList in favor of std::vector<int> at some
point.)