AMENDED AND RESTATED CREDIT AGREEMENT dated as of October 28, 2011 among KODIAK OIL & GAS (USA) INC., as Borrower, WELLS FARGO BANK, N.A., as Administrative Agent, and The Lenders Party Hereto