Change the constructors of the platform events, and add the agent type in the events (issue sarl/sarl#87).