Jrbl 1825 editing exams keep contentgroup

Correctly show parent when editing exam
    
* Correctly display the parent on the exam edit dialog for child exams.
** (closes #1825)
** (closes #1914)

Includes the material currently in #1914.