cubicweb-processing #3836691 ensure consistency of in_study object for Runs in a RunChain [in-progress]

A Run can be in a RunChain (has_runs relation). Both can be in a ProcessingStudy (in_study relation). We have to ensure that the ProcessingStudy is the same. Probably needs a constraint on both relations.

prioritynormal
typeenhancement
done in<not specified>
closed by<not specified>
patchAdd test cases to check consistency between in_study object when Run is in a RunChain [applied]