Army corporal Daniel James, who worked for Britain's top general in Afghanistan, is found guilty of spying for Iran.