Fix promise resolution in IndexedDB driver for DB updates (issue 154)

Wait for transaction instead of request when modifying the data.
Thereby the data is truely written when the promise is resolved.
Merge pull request #313 from chmp/master

Fix promise resolution in IndexedDB driver for DB updates (fix #154)