AMENDED AND RESTATED CREDIT AGREEMENT dated as of November 9, 2012 among SANTA MARIA ENERGY HOLDINGS, LLC, as Borrower, MUTUAL OF OMAHA BANK, as Administrative Agent, and The Lenders Party Hereto