(#2394) - fewer allDocs transactions for idb/websql

Got it working for IDB at least.  No performance numbers yet; coming soon.