ISPN-5104 Infinite loop in TransactionAwareCloseableIterator when
iterating through cache

Fixed issue where entry was repeated if added to context after
starting a transaction
ISPN-3729 Minimize the number of moved segments for SyncConsistentHashFactory

Based on the original consistent hashing paper, the
NewSyncConsistentHashFactory algorithm doesn't move any segments at all.