synchronizeDynamicModules: Flush ZODB cache.

Should fix most of the cases where reloading components cause breakage.
There is still a race condition between a transaction's cache being
actually flushed (which can only happen at transaction boundaries) and
another transaction doing the actual class reload, which will
immediately affect all the started transactions in the same process.
7 jobs for fix/broken-portal-type-class-repair in 0 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-TestRunner1

02:29:10

passed ERP5.PerformanceTest-TestRunner1

03:24:57

passed ERP5.UnitTest-TestRunner1

02:04:46

failed ERP5.CodingStyleTest-TestRunner1

00:44:07

canceled ERP5.CodingStyleTest-TestRunner1

failed ERP5.UnitTest-TestRunner1

03:08:21

canceled ERP5.UnitTest-TestRunner1