SECOND AMENDED AND RESTATED LOAN AGREEMENT by and among L. B. FOSTER COMPANY as Borrower