SECOND AMENDED AND RESTATED LOAN AGREEMENT dated effective as of October 31, 2007 among GMX RESOURCES INC., as Borrower, AND CAPITAL ONE, NATIONAL ASSOCIATION, as Administrative Agent, AND THE BANKS LISTED ON THE SIGNATURE PAGE, as Banks