Changed nodewebkit storage to use indexedDB. fixes #1