Refactored utilities from LIL into a mixin class to use with other sparse
matrix classes.
Used _unpack_index() from IndexMixin to extract indices from key tuple.
This fixes the CSR[1, 2, 3] bug.