The changes of polygamy and racial bans set a precedent for potentially allowing samesex marriage in Mormon temples.