(#1649) - better skip/limit for leveldb
(#1649) - fix allDocs() limit=0
(#1649) - fix leveldb limit=0