fix #50 : delete model with keyPath specified

See #50 

If a model has a keyPath specified in indexedDB, delete had no effect. It is fixed now.
Should be `store.keyPath != null ? store.keyPath : ...`, otherwise you can get away wth `store.keyPath || ...`