So by your definition cursing is just taking God's name in vain? I am catholic, and a priest told me that if it is a bodily function that is is not cursing.

So cursing does change by definition. I can assure you that there are many words that are bodily functions that many would consider vulgar.
The point of this article was that a woman was cursing in her home because her toliet was overflowing. The window was open, so people could hear her. We don't know what words she was using.

The question is was she put in jail because an off duty cop complained against her? She was in her home dealing with a mess. Does the govt have the right to come into your home and say what words you can or can not use? Cursing at a toliet is not a threat to national security.