A Swedish court has sentenced a woman to 12 years in prison on genocide charges for keeping Yazidi women and children as slaves at her home in Syria, in the country’s first court case over crimes committed by the ISIL (ISIS) group against the minority.