It was the most destructive conflict in US history – but the American Civil War also saw the emergence of new technologies and innovations born from a will to win.