I read the original article. I don't see any particularly good evidence his apartment was searched without a warrant. He says a picture on his wall was missing, and some luggage was moved. Now, his apartment being searched is one possible excuse; but the landlord of the apartment he just moved into, or some maintenance staff, coming in to fix something or check on something, and finding a poster that had fallen off the wall and thrown it out in the assumption that it was the previous tenant's, is a lot more likely to me than the government searching his house without a warrant.
It sounds like the TSA's actions were excessive and heavy handed. It sounds like perhaps he got a little argumentative, due to being hungry (as he said, he hadn't eaten; I know I get cranky when I go too long without food), thirsty, and upset about missing his trip.
The TSA, and whatever other officers interviewed him, should probably be trained better in dealing with this kind of situation. In particular, using behavioral excuses to detain someone who's been singled out for extra screening is silly. Many people get upset about that kind of thing. And given that none of these TSA agents have ever actually interacted with a terrorist, and most likely never been trained with anyone who has, it's hard to believe that their training is any good at actually distinguishing a terrorist from someone who's just mad that they haven't had food or water in many hours. Heck, if you were a terrorist, you would prefer to blend in and act calm to singling yourself out for more screening by acting angry.
I feel like his article was a bit of an overreaction, but likewise the TSAs screening policies are much bigger, costlier, more painful overreaction.