Update the spellfix virtual table so that all OOM errors are reported out
to the application.
Cherry-pick [555fc07]: 
Changes to the thread routines to disable them when threading is turned
off using sqlite3_config().  Also merge all recent trunk changes.