MDL-37100 webservices: Adding warnings and cleaning up get_calendar_events() api