Istanbul police have foiled alleged Christmas and New Year terror attack plots, detaining 115 suspected members of the Islamic State group.