Ripple, the payments startup with an IPO in the cards and a complex relationship with the XRP cryptocurrency, is branching out into lending.