event_graph: fixes a bug due to how message subscription is handled between dag_sync and event_handle_put that triggers "peer replied with wrong event" when a valid event is replied from a peer
- when events are requested during dag_sync there are two subscribers for EventRep message, one is the one in dag_sync the other one is in EventGraph,
so _trigger_all in message dispatcher sends EventRep to all subscribers, thus the subscriber for EventRep in EventGraph will have messages queued
when event_handle_put starts executing, thus when requesting for missing_parents events in handle_event_put, it will get the queued EventRep
from dag_sync and it will result in "replied with wrong event" error
- the fix is to clean the message subscription queue before starting handling the new message in event_handle_put