The upfront cost of installing solar panels is high, so many homeowners turn to leasing. But what happens if you buy a house ...