Fix constraints refering to cloned resources

* Warn when user tries to create a constraint for a clone
  or master/slave child.
* Move the constraints from a group to the clone or master when cloning
  the group. Previously worked only for the plain resources.