fix readable forms in the case of a top-level ref-less group
add test for ref-less top-level group
Merge pull request #3918 from dimagi/top-level-refless-groups

fix readable forms in the case of a top-level ref-less group