add redis sentinel support and custom shard key generate function

``hash_method`` is a string which indicates the method of generating the hash key of the consistent hash ring.