Great point about Stalin, and yes this is nothing new as communities no doubt looked to the Strong Man to lead them for survival purposes. This tendency could very well be inherited from our primate ancestors, as it makes sense that the most dominant ones would rise to the top.
When it comes to voting I understand that most people vote based on emotion and not on qualifications at all. I think this relates to the dominant primate notion as well.