The foiled plan allegedly had the backing of an Islamic State offshoot, and was intended as violent retaliation for Quran burnings in Stockholm.