Home purchases in “turning around” neighborhoods can be good investments as new owners see their property values rise faster than other nearby neighborhoods. But gentrification changes a community’s characteristics and can flirt with Fair Housing Act violations.