Fixing custom APPEND_SCOPE_DATA events.
Fixing string parsing to do the fromCharCode at the end so that it
generates better strings. This speeds up search in large dbs a bit.