German prosecutors on Tuesday said that a 17-year-old had been arrested for plotting an Islamist terror attack, with media reports saying he wanted to target a Christmas market.