Use string.fromUTF8Buffer instead of string.fromAsciiBuffer
Refactor database API to support transactions (with promises), handle version upgrades, and preserve key ordering
Refactor to fix closing transactions