When Muammar al-Qaddafi came in from the cold in the mid-2000s, the “mad dog” of the Middle East embarked upon top-down reforms that were friendly to international markets, investors, the United States, and Europe.