ISPN-3923 ignore sun.misc in OSGi package imports
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