AMENDED AND RESTATED MASTER REPURCHASE AGREEMENT between: UBS REAL ESTATE SECURITIES INC., as Buyer and REVERSE MORTGAGE SOLUTIONS, INC., as Seller Dated as of November 1, 2012