Ticket: 50755 - setting nsslapd-db-home-directory is overriding db_directory
Bug: If nsslapd-db-home-directory is set for new instances the database is
placed below this directory, not only the db environment.
Fix: Use the db dir when looking up the instance dir.
Make sure the log dir is below db dir and not home dir.
Make sure dse.ldif is written if upgrade to split config
is done in a non-normal mode, eg import
Make sure the db directory is set to the list of parent
directories for instances
If dblayer is closed only temporarily do not free directory settings
Adjust log level of some error messages
Reviewed by: Mark, thanks