Replaced key->slot calculation with reference implementation in http://redis.io/topics/cluster-spec