That sounds like the No True Scotsman fallacy. Ratzinger there is defining religion in a way that basically renders it nonexistent. There have been _no_ major religions that have never dabbled in violence, totalitarianism, or unreasonable behavior. We're human; we are violent, we do want people to do things our way, and we can be very unreasonable. I have no idea what he's talking about here, especially since this set of principles (don't hit, don't be a condescending jack@ss, be reasonable) is pretty common across religious and philosophical lines. Aristotle was telling people this stuff far before the Church was a twinkle in anyone's eyes, and Confucius would also like some credit here. Neither of those guys were particularly religious.
Religion as it is commonly known is a very good way to kickstart some of the hallmarks of what we consider "civilization". That is because it is a good way to control people's behavior. This can be as innocuous as an exhortation to love thy neighbor, or as, yes, totalitarian as coercing people to behave as you want them to by threatening them with eternal damnation and an Inquisition or two. If you want to get a large group of people to do something big, you have to convince them to do it, and religion is a very good way to do that. Doesn't take so long, either. This is not what the Pope's talking about, since this is coercive and possibly even totalitarian behavior, but it is the way that religion is often used throughout the world.