Implement commit() for IndexedDB
Merge pull request #27 from wcandillon/refactoring

Implement commit() for IndexedDB