ISPN-3012 Defensive copying should recompact after returning values

https://issues.jboss.org/browse/ISPN-3012

* Recompact when returning a value to avoid returned values being modified via client side direct reference.
* When using storeByValue, make safe copies of entries in invokeProcessor so that cache can be updated using atomic operations.