Ticket 532 - RUV is not getting updated for both Master and consumer
Bug Description: If you change the replica type, the RUV does not reflect the change. This is
partly due to the nsState attribute not being updated - specifically the csngen.
Fix Description: When we change the replica type, update the csn gen, add the new RUV element,
delete the old RUV element, clean the changelog RUV, update the state, and notify
the agmts. Then you must reinitialize the agmts after changing the replica type.
https://fedorahosted.org/389/ticket/532
Reviewed by: richm(Thanks!)