adding new config parameter for sqlite to specify the journal mode

successor of https://github.com/owncloud/core/pull/11846