Added support for RefReplicated and RefReplicationDone events

Defined DTO objects for both events. These events allow to know when
the replication of a ref is completed to a specific node and to all
the nodes.