If you have a capital gain on a home sale, the good news is that you may qualify to exclude all or some of it from your taxable income, saving a bundle in taxes.