DB IDO: Update Host/Service state 'is_flapping' on FlappingChanged.

Refs #6051
DB IDO: Update Host/Service state 'last_notification' on NotificationSentToAllUsers.

Refs #6051
DB IDO: Update Host/Service state 'last_notification' on DowntimeTriggered.

Refs #6051