Use reject on errors with indexeddb

The indexeddb driver logs errors to the console but doesn't use reject, and there is no way to catch thoses because they are not thrown either...
It would help manage the bug https://github.com/mozilla/localForage/issues/70