Fix validation for service names in Notification, Dependency and ScheduledDowntime objects

fixes #8122