The unsettled nature of the Democratic presidential race means it could be competitive right until, and perhaps through, the party’s convention in July. That could test the party’s rules and traditions in choosing a nominee, potentially unleashing the first contested convention of either major U.S. political party in almost 70 years.