moved ContactEvent filter isToday() to a static function in ContactEvent class
minor cosmetic changes