Ticket 48023 - replace old replication check with lib389 function
Description: Replaced the old "replication is working" check with
lib389's more robust replication check function.
https://fedorahosted.org/389/ticket/48023
Reviewed by: nhosoi(Thanks!)