MAINT: sparse: Numpy 1.5 compatibility fixes

Add compatibility routine for bincount. Fix a bug in test preparation.
Add some tests for the compatibility routines.

Should fix the remaining issues in gh-3330