Improve findMulti() for BasicDbStorage

Trigger a batch query when possbile

Change-Id: If893f29dff7f3710019d0643af4e4ff7e7c52db1
Merge "Improve findMulti() for BasicDbStorage"