A lifelong passion for the national pastime led John Thorn to redefine the sport’s relationship with statistics and reveal the truth behind its earliest days