fixed a mode bug - was always in readwrite mode, and added openKeyCursor
read_write/read_only weren't working for indexedDBShim case,
read_write/read_only weren't working for indexedDBShim case,
don't clean unneeded modules from indexeddb (they could come in handy for another app)