WIP.  Fixing transaction promise problem.
WIP.  Before rewrite.
Rewrote indexed-db in a coffee way and added thorough testing.
Small cleanup for generated files.