ISPN-3143 Add missing listener registration, expect java serialized obj

* Since objects are stored in unmarshalled form, when REST request
arrives, it treats objects as Serialized (since Person is Serializable)
* Missing listener registration was the cause of the NPE.
Remove unused imports
Consistent hash package cleanup
ISPN-2772 Implement REPLICATED mode as a degenerated DISTRIBUTED mode (nowOwners>=clusterSize)

* Implement new ReplicatedConsistentHash and factory
* BaseReplicatedAPITest was asserting wrong behaviour, specific to old REPL mode. The new REPL mode clears putIfAbsent flag on commands sent to remote owners if the command executed successfully on originator. This forces them to apply the update unconditionally.
* Remove unused REPL mode interceptors.
* Fix the total order tests.
ISPN-2772 Convert some tests to new config API and use only one segment by default in REPL mode

The config for REPL tests is ammended to set CH numSegments to 1. This is needed to make the existing REPL tests work with the new implementation. Conversion to new config API is mandatory for these tests because in the old API we cannot override numSegments.
ISPN-2772 Remove SEQUENCER JGroups protocol as it is no longer used by TO

Also remove the garbage character from last line of core/src/test/resources/stacks/tcp_mping/tcp1.xml
ISPN-3133 AsyncAPINonTxSyncDistTest and AsyncAPINonTxAsyncDistTest are mistakenly executed in REPL mode

* In non-tx mode the primary owner will skip the replication of unsuccessfull conditional commands
* In non-tx mode the originator will always wait for the primary owner's return value regardless if command is async if reliable return values are required
* Fix AsyncAPINonTxSyncReplTest by allowing the key to serialize if the operation required forwarding (originator not primary owner)
ISPN-3133 Convert some tests to use spies instead of mocks to avoid some very brittle code that was broken by fixing ISPN-3133
Make MagicKey completely immutable