Foreclosures, preforeclosures, and short sales can present opportunities for investors willing to put in extra work.