The economics have shifted, but there’s still a case for investing in home energy upgrades if you make the right choices.