inserted the GMFs with the CacheInserter instead of the BulkInserter
Moved the CacheInserter at top-level
Added a CacheInserter.flushall functionality
Added an atexit handler as a safety net
Called a .flushall() at the end of the computation
Fixed event_based/core_test.py
Enlarge the inserter cache to 10,000 elements, a good number from my experiments on Cobain
Enhanced the performance_view to display the duration per task too
Added more instrumentation to the CacheInserter
Used a weakref.WeakSet just to stay on the safe side against memory leaks
Moved back DummyMonitor to its righful place
Merged from master
The CacheMonitor now store strings, not Django objects
Improved the CacheInserter to write on a StringIO directly
Added a forgotten stringio.reset()
Fixed a comment
Merge pull request #1190 from gem/enhance-cache-inserter

Inserted the GMFs with the CacheInserter instead of the BulkInserter