ISPN-3704 StateTransfer's PutKeyValueCommand may trigger remote get

https://issues.jboss.org/browse/ISPN-3704

Rework the remote get conditions and deal with tx and non-tx caches separately.