Twenty-two financial companies that have served as primary dealers of U.S. Treasury securities were sued in federal court on Thursday, in what was described as the first nationwide class action alleging a conspiracy to manipulate Treasury auctions that harmed both investors and borrowers.