SyncEngine: allow to do a post upgrade script in debug mode.
tx.pl: Add a chunking update test, test for precondition failed.