Joined subject validation
On save, validate that all entered codes are valid. If not, append validation message.
Also, set the cycle according to the main subject. The cycle for the subject is in the class SubjectDetails
, that has same id as the subject.