AMENDED AND RESTATED CONTRACT PURCHASE AGREEMENT dated as of August 12, 2011 among PDC FUNDING COMPANY II, LLC, as Seller, PATTERSON COMPANIES, INC., as Servicer, THE PURCHASERS PARTY HERETO, and FIFTH THIRD BANK, NATIONAL ASSOCIATION, as Agent