Ticket 48353 - Add Replication REST support to lib389
Description: Needed to complete some existing functions, and fix
several bugs in existing code. Updated the properties
using the REST representation values, added replication
promotion/demotion functionality, replication agreement
status functions, and did some code cleanup(pep8)
https://fedorahosted.org/389/ticket/48353
Reviewed by: wibrown & spichugi (Thanks!!)