add support for multiple subcases in same repeat
Merge pull request #1425 from dimagi/many-subcase-repeats

add support for multiple subcases in same repeat