At a makeshift court outside Mosul, suspected ISIS fighters receive legal representation and go through a layered investigation before being sentenced or released.