What neither David Cameron nor most observers could have predicted was the extraordinary outpouring of democratic energy, for good and ill, that overwhelmed Scotland in the extraordinary, heady weeks of the referendum campaign.