Refactor a bit and add session replication test [IMMUTANT-261]
Upgrade to Infinispan 6.0.0.Final [IMMUTANT-373]