MASTER REPURCHASE AGREEMENT Between BARCLAYS BANK PLC, as Purchaser and Agent and STONEGATE MORTGAGE CORPORATION, as Seller Dated as of December 24, 2012