Behind the recent massive rise in crude oil prices was an OPEC deal that some doubted would ever get done.