NEW YORK (Reuters) - Gasoline futures surged 10 percent on Thursday as almost a quarter of U.S. refining capacity remained offline and traders scrambled to reroute millions of barrels of fuel, while oil prices rose nearly 3 percent.