Set database into write-ahead log mode, disabled synchronous mode, added
ignored lines for resulting extra files
Renamed some database variables to match file-based DB nature, removed
some unneeded configuration params