Fixes for easier ZookeeperConsistencyPersistence integration

* Fix a MatchError in service's Observer
* Fix type inference mess due to ???
* Use a pass-by-name explicitTokenMapping in ExplicitReplicaResolver