BUG: sparse/sparsetools: catch exceptions in std::vector allocation
ENH: sparse/sparsetools: release GIL in sparsetools routines
TST: sparse: add test running sparsetools code in parallel threads
Merge pull request #3477 from pv/sparse-threads

ENH: sparse: release GIL in sparsetools routines