As the Islamic State's militants planned their brutal videotaped killing of a second American prisoner, one photographer in Turkey was describing for readers and other journalists how he was treated as a captive of the group—and how he almost didn't survive the ordeal.