ENH: sparse/lil: 50-100% speedup in __getitem__/__setitem__

Apparently comparison is slow for Numpy scalars.