When Grover Cleveland clinched the Democratic nomination and faced an allegation of misconduct, he wrote up a new political playbook.