Use UNLOGGED tables for Postgres tests.

Should increase test performance and hopefully work around issues with
the WAL logs filling up during intensive transaction activity when
running the tests on Travis CI.