Brexit is a terrific example of what blind nationalism and groupthink can do as well as highlighting the inherent failures of democracy.