SWITCHYARD-2001 Enforce Policy dependencies

It used to just raise a validation error if policy dependency is not satisfied, changed to add the dependency automatically.