The underappreciated presidency of the military man who won the Civil War and then had to win the peace as well