Fix cursor.update
Uncaught TypeError: Cannot read property '__idbObjectStore' of undefined
Also calling idbModules.Sca.encode(encoded) crashes, but it isn't needed because it is already encoded.
Merge pull request #99 from DickvdBrink/cursor-update

Fix cursor.update