California predicts mandatory solar panel installations will add nearly $10,000 to the upfront cost of a home — money that will be recouped through energy savings.