It’s nearly 40 years since the Rolling Stones fled to the French Riviera and recorded their masterpiece, “Exile on Main St.” On the eve of its relaunch, Sean O’Hagan marvels that the album was made at all…