As energy costs rise, a growing wave of solar panel contracts are saddling Americans with huge loans, damaged credit and decades-long repayment contracts.