Credit: AP/Alex Brandon Abrams, Thomas homer, rookie Jake Irvin strikes out 9 as Nationals defeat Giants 5-3