Making the most of these tax-code changes before year-end could reduce what you owe the IRS next April.