1d set/getindex for abstract sparse

ref #7023

This implements `setindex!` and `getindex` with 1d and boolean indices for `AbstractSparseMatrix`. An optimized implementation for `SparseMatrixCSC` can be done separately.
Thanks, `searchsortedfirst` indeed can be used. I shall update the PR.