Borussia Dortmund only needed to beat Mainz or have Bayern tie or lose to Köln. Neither happened on a wild final day of the Bundesliga season.