Merge changes from topic "database-improvements"

* changes:
  Make slow queries logs show only when log tag enabled
  Remove old and unnecessary log
  Add some tests for database operations
  Add support for normal sync mode and propagate journalMode and syncMode on database open
  Add total execution time and statements executed to dumpsys dbinfo