Various bug fixes on stuff found when testing on a real iOS phone (like not getting date correctly). Also added deletion of events (needs to delete messages too, but that is API)