CREDIT AGREEMENT Dated as of August 23, 2007 among POWERSECURE INTERNATIONAL, INC., as the Borrower, CITIBANK, N.A., as Administrative Agent, and The Other Lenders Party Hereto