CREDIT AGREEMENT dated as of July 22, 2004 among FRIEDMAN, BILLINGS, RAMSEY GROUP, INC. The Lenders Party Hereto and JPMORGAN CHASE BANK, as Administrative Agent