Despite Hillary Rodham Clinton’s promise that she had scrubbed illegal cash contributions from her 2008 presidential campaign, prosecutors revealed Monday that the mastermind of Mayor Vincent C. Gray’s “shadow campaign” also funneled hundreds of thousands of dollars to aid Mrs. Clinton’s bid for the White House.