Implement apply support for scheduled downtimes and notifications.

Refs #5880
Fix failed assertion in ConfigItem::GetProperties.

Refs #5870
Implement apply support for dependencies.

Refs #5880
Update auto-discovery scripts.

Refs #5878