Oil jumped 7 percent on Thursday after a rally in equity markets and an unexpected fall in U.S. crude inventories.