Issue 49866 - Refactor PwPolicy lib389/CLI module
Description: Refactor Password Policy module and its CLI part.
Add PwPolicyManager object and PwPolicyEntry(DSLdapObject).
Validate LDIF and Backup dir paths. Don't accept a forward slash
because it can lead to a security flow.
Add an additional assertion to Backup/Restore CLI test suite.
https://pagure.io/389-ds-base/issue/49866
Reviewed by: mreynolds (Thanks!)