Buying a home out of foreclosure can be a great investment now. Tips to make a good buy.