ISPN-4969 Stopping a cache will stop all KeyAffinityServices created for other caches in the cache manager

Conflicts:
	core/src/main/java/org/infinispan/affinity/impl/KeyAffinityServiceImpl.java
ISPN-3389:  Account for the new lock owner for any local transactions to prevent the tx from being stale in the new owner's tx table.
ISPN-3389 Account for the new lock owner for any local transactions to prevent the tx from being stale in the new owner's tx table

* Unit test reproducing the problem
* Fix the topology check in StateProviderImpl.collectTransactionsToTransfer
* Mark the transactions received via state transfer as remote
* Other cosmetic changes in StateProviderImpl.collectTransactionsToTransfer