Added a program to test for a SQLite misfeature.
Use sqlite_use_immediate_transaction.

This will hopefully solve all the "database is locked" errors some recent subjects have been seeing.
Use SQLite's WAL mode.

This should further improve concurrency.