Flip the cache bit on template boosts

I think this might speed up enwiki's queries which do several of these per
user query.  Testing certainly shows that it is faster.

Change-Id: I4a0fb0be0cc2a937d54fffdd2c46cca2ed880865
Merge "Flip the cache bit on template boosts"