Two men were arrested in what police said were terrorist plots at major events in Vienna. One was a 19-year-old who authorities said pledged his allegiance to ISIS.