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.
Reviewed by: richm(Thanks!)