Buried in a housing law signed this week by President Barack Obama are protections that will help thousands of renters stay in their homes — at least for awhile — after their landlord has been foreclosed on.