Add parent child case type graph cycle detection
Improved a doc string
Gave cycle detect method more verbose name
Merge pull request #4366 from dimagi/parent-cycles

Add parent child case selection graph cycle detection