What the hell does it matter whether this guy was a Cop, Dentist, Pilot or the cleaner from the local bank? Anyone who makes threatening comments or "jokes" regarding any security issues should be dealt with in the same way.....point blank refusal to fly, arrested and dealt with accordingly.
Some people happen to take airline & airport security very seriously, and if you think that the odd joke here and there is acceptable - think again about what has just happened, and could happen again at any airport, anywhere, anytime if we let it!
The same rule has applied for years in the UK - anyone who mentions they have bombs/guns etc as a joke or otherwise, do not travel.
Get real