WASHINGTON — While the Democratic National Committee over the past 10 days has tried to distance itself from the troubled app that threw the results of the Iowa caucuses into disarray, a copy of the contract and internal correspondence provided to Yahoo News demonstrates that national party officials had extensive oversight over the development of the technology.