The election of Thomas Jefferson in 1800 was the first non-violent transition of power from one party to another with the consent of the governed. Here’s how America achieved it.