Homeowners should understand capital gains taxes, and how they may be able to avoid the taxes, before they sell their home.