SCAN: refactored into scanGenericCommand.
SCAN: refactored into scanGenericCommand.

The new implementation is capable of iterating the keyspace but also
sets, hashes, and sorted sets, and can be used to implement SSCAN, ZSCAN
and HSCAN.

alpha8/redis,kolonse/redis,kts12345/redis,ScottKaiGu/redis,oaastest/redis,ScottKaiGu/redis,jacklee0810/redis,sidsen/redis,ScottKaiGu/redis,damy/redis,fanxu/redis,Jonavin/redis,powerumc/MyRedis,laurencee/redis,kts12345/redis,damy/redis,adamweixuan/redis,fanxu/redis,alpha8/redis,ScottKaiGu/redis,enginekit/redis,adamweixuan/redis,crask/redis-cutter,alpha8/redis,quangnguyen90/redis,kolonse/redis,Cybermaxs/redis,Jonavin/redis,sidsen/redis,nandhanurrevanth/redis,liqiang199105/redis,laurencee/redis,laurencee/redis,jacklee0810/redis,alpha8/redis,kts12345/redis,ideaar/redis,enginekit/redis,miminus/redis,erwin00776/redis-2.8-optimize,oaastest/redis,powerumc/MyRedis,quangnguyen90/redis,nandhanurrevanth/redis,powerumc/MyRedis_old,damy/redis,quangnguyen90/redis,kolonse/redis,enginekit/redis,jacklee0810/redis,adamweixuan/redis,powerumc/MyRedis_old,crask/redis-cutter,sidsen/redis,damy/redis,janeasystems/redis,jqk6/redis,upsoft/redis,miminus/redis,miminus/redis,miminus/redis,liqiang199105/redis,upsoft/redis,nandhanurrevanth/redis,jaambee/redis,jacklee0810/redis,laurencee/redis,alpha8/redis,jqk6/redis,upsoft/redis,jqk6/redis,LittlePeng/redis,adamweixuan/redis,fanxu/redis,quangnguyen90/redis,ideaar/redis,jqk6/redis,oaastest/redis,laurencee/redis,powerumc/MyRedis,jqk6/redis,shanegxxiao/redis,oaastest/redis,Cybermaxs/redis,miminus/redis,ideaar/redis,jaambee/redis,shanegxxiao/redis,upsoft/redis,hanmichael/redis,shanegxxiao/redis,kolonse/redis,StartTheShift/redis-shift,liqiang199105/redis,janeasystems/redis,ideaar/redis,shanegxxiao/redis,upsoft/redis,sidsen/redis,Jonavin/redis,shanegxxiao/redis,kts12345/redis,StartTheShift/redis-shift,damy/redis,Jonavin/redis,hanmichael/redis,janeasystems/redis,jaambee/redis,ScottKaiGu/redis,hanmichael/redis,LittlePeng/redis,LittlePeng/redis,ideaar/redis,oaastest/redis,kts12345/redis,sidsen/redis,Jonavin/redis,sidsen/redis,liqiang199105/redis,powerumc/MyRedis_old,janeasystems/redis,nandhanurrevanth/redis,jaambee/redis,quangnguyen90/redis,erwin00776/redis-2.8-optimize,Cybermaxs/redis,Cybermaxs/redis,jacklee0810/redis,nandhanurrevanth/redis,kolonse/redis,erwin00776/redis-2.8-optimize,StartTheShift/redis-shift,jaambee/redis,enginekit/redis,fanxu/redis,liqiang199105/redis,hanmichael/redis,erwin00776/redis-2.8-optimize,hanmichael/redis,powerumc/MyRedis_old,Cybermaxs/redis,crask/redis-cutter,enginekit/redis,janeasystems/redis,adamweixuan/redis