First, this is the same argument that many creationists, followers of intelligent design and other religious nuts use to discredit evolution. In fact, if you look up the wikipedia page for Expelled: No intelligence allowed, you'll see that the idiots who made that movie used very similar language to the OP and in fact, my instinctive response when I read this bit, thanks to having heard this so many times from creationists was to immediately assume assume the OP was one. I didn't want this to color the rest of my response so I decided to ignore this bit.
Also, it's seems like flamebait to me. I suspect the OP threw it in there to antagonize those who disagreed with that idea while simultaneously enlisting the support of everyone who was once slighted for his/her political views by a professor.
Finally, are you seriously suggesting that because university professors tend to have certain political views we need to fix this by cutting university funding? I must be missing something because this makes no sense.
Also, the OP's made a very broad claim that most university departments are rife with ideology and hostile to conflicting views. You are referring to some instances of ridicule relating to the specific subject of political views, which is a much much weaker claim.
PS. I believe there's research that shows that the political leanings of professors has little effect on the political views of students. And I'm sorry that you were ridiculed and I think this is unacceptable behavior.