BIT-1325 #merged * origin/topic/johanna/bit-1325: Enable SQLite shared cache mode.
This allows all threads accessing the same database to share sqlite objects. This, for example, fixes the issue with several threads simultaneously writing to the same database file. See https://www.sqlite.org/sharedcache.html Addresses BIT-1325
A couple times now I had this conflicting with files of the same name in other projects.