Sparse updates

Rebase of gh-1500 on top of gh-1489.

NEWS.txt
- safer case to int32 in sparse op CSM. (Frederic B.)
- BUGFIX: disable the optimization that introduce the CSMGradC op as it don't work correctly with unsorted indices. (Frederic B.)