PURCHASE AGREEMENT between AFS FUNDING TRUST Purchaser and AMERICREDIT FINANCIAL SERVICES, INC. Seller Dated as of August 17, 2005