[MRG] FIX: Make sure LogRegCV with solver=liblinear works with sparse matrices

The function `csr_set_problem` assumes X to be of `csr` format. More specifically, accessing `X.indptr[0] - 1` to get `n_samples` in the function creates huge problems. This fixes it.