The US election is all but over, the headline result is known with just a couple of states left to declare for either candidate.