MASTER AMENDED AND RESTATED CREDIT AGREEMENT dated as of November 14, 2006 between GOLDEN GRAIN ENERGY, LLC as Borrower and HOME FEDERAL SAVINGS BANK as Lender