Solar power developers added a record 7.3 gigawatts of capacity in the U.S. last year, up 17 percent from 2014 and surpassing natural gas installations for the first time.