Across the country, big banks and other large investors are buying up tens of thousands of foreclosed rental properties. They're not always model landlords, according to tenants and regulators. Some banks are failing to follow local and state housing codes, leaving tenants to live in squalor — without even a number to call in the most dire situations.