Switch to PostgreSQL for development and test.

I was starting to hit locking problems with SQLite when running lots of
jobs to e.g. stress-test the search worker.
Naming fix.