ISPN-3845 CACHE_MODE_LOCAL flag only works in primary owner for non-tx caches

Also includes:

Cleanup FlagsEnabledTest

https://issues.jboss.org/browse/ISPN-3845

Note: it should fix this tests:
* HotRodReplicationTest.testReplicatedPutWithTopologyChanges
* HotRod11ReplicationTest.testReplicatedPutWithTopologyChanges
* HotRod12ReplicationTest.testReplicatedPutWithTopologyChanges