Gas lines and quadrupling oil prices freaked out American consumers. But the oil crises also transformed global finance.