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

Refs #6051