Merge "make disableWriteAheadLogging method public so apps can disable WAL"