Ticket 49024 - Fix paths in tools module
Description: Now we have paths module, so we can adjusted obsolete
hardcoded DS paths and fix some test failures with it.
Also, fix small issues with:
- ds-admin.pl variables;
- unsafe and consice command execution;
- fix lib dir path to the path in defaults.inf file
https://fedorahosted.org/389/ticket/49024
Reviewd by: nhosoi, wbrown (Thanks!)