fix tests
CAY-1949 Search in configuration fields (Catalog, Schema) in DbEntity

patch by Savva Kolbachev (d1e506c) with some minor edits
CAY-1772 Real support for DbEntity catalogs

must set default catalog for new DbEntities
no change

formatting, removing empty comments