A flood of foreclosures from the downturn filled the market with homes that had worn roofs, missing AC compressors, and dated kitchens and bathrooms. Headaches with financing kept buyers from picking them up.Now lenders and Realtors have learned how to do more of these deals.