Toss exception for invalid cache mode in a cluster [IMMUTANT-353]

I'm unsure whether doing the same when not clustered is desired or
not, since all our docs currently say we'll use LOCAL mode whenever
we're not clustered, regardless of what mode is requested, invalid or
not.