Add error callback to list() on DbQueryCollection in store.sql as sql might fail

All the sql stores has error callbacks in , but the list() function in store.sql doesn't use them. So when a query fails, you'll never know.

I added support for error callbacks in the .list() on DbQueryCollection, to fix this issue.