[PLUS-1078]: add posibility to log all db queries
[PLUS-1078]: code style
Merge remote-tracking branch 'remotes/origin/plus-1078-db_loggin' into 1.0-wapstart