Delinquent borrowers facing foreclosure are learning that they can stay in their homes for years, as long as they're willing to put up a fight.