SAN FRANCISCO — With three mighty swings, Pablo Sandoval put the San Francisco Giants ahead in this World Series and put himself in a class with Mr. October.