Make sure these tests close their InitialContext.
Add Batch context to StatefulSessionComponentInstance instead of thread local.  Otherwise Cache.release/discard(...) won't work if called from different thread than Cache.get(...).
Remove dependency on Infinispan's BatchContainer which relies on ThreadLocals.
Fix NPE in InfinispanBeanEntryExternalizer.writeObject(...) when the lastAccessedTime is null (which is the case following creation).
Rename Contextual.get/setContext() to get/setCacheContext().
Merge pull request #6541 from pferraro/ejb

WFLY-3682 SFSB DistributedCache doesn't commit when get(...) and release/discard(...) use different threads