ESG, shorthand for environmental, social and corporate governance, is becoming a bigger factor in real estate investment criteria.