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.