AMENDED AND RESTATED CREDIT AGREEMENT Dated as of January 8, 2014 by and among HOSPITALITY PROPERTIES TRUST,