Issue 50462 - Fix CI tests
Description: Explicitly changed strings to bytes in upgrade-script(tools.py)
Also Added ds_version check in order it won't break in 1.4.
Added a new replication agreement, and a replication manager. Replication is not
working with service accounts.
related: https://pagure.io/389-ds-base/issue/50462
Reviewed by: Firstyear, vashirov (Thanks!)