Med facit i hand är det nästan svårt att tro hur osannolikt det var att Amerika grundades som republik