(#2165) Alldocs compatible with couchdb.

This workaround does damage the basic flow of get all docs, some couchdb does not support the keys in its http get request, so this will cause download the all the docs of db again and again. So follow the couchdb querying options delete those workaround codes.