Interim commit.
Correctness and concurrency tests pass for all supported databases.
"Check and repair closure table" function callable from GUI.
Startup check: rebuilds closure table if wrong # of column is present and hbm2ddl=update.
Handling some more concurrency issues in PostgreSQL (not related to closure).