Changes for Infinispan 6.0.0.Final compatibility

This unfortunately isn't complete - I didn't find an equivalent to MarshalledEntry.compact, maybe there isn't one?, and when Infinispan loads OffheapStore it fails around the logging. Also the test classes aren't fixed. So, hopefully this little bit is a useful start!

cheers,
Karl