BUG: sparse/_csparsetools: cast integer indices to same dtype
MAINT: fix cythonize treatment of .pyx.in files; use Cython-bundled Tempita

(backport of 563a042 and 70cc65b)
BUG: sparse: rewrite _csparsetools using Tempita rather than fused types

As of Cython 0.20.1, the fused types dispatch mechanism does not seem
solid enough, so we fall back here to a simpler solution.