A presidential campaign unlike any other ends on Tuesday. Here's how we got here