A California court delivering a major victory for the bank-partnership lending model.