BACKLOG-5340: refactor the servlets to be able to send events at context loading, also add the possibility to send multiple event to the the EventsCollectorServlet