BUG: Fix tests that expect numpy 1.9 to implement __numpy_ufunc__.

Change Numpy version tests to check for 1.10 instead.

(cherry picked from commit 8b057576baef6f2bca5f3100db45d6d2915e3c1c)
DEP: Disable sparse inplace DeprecationWarnings for Numpy < 1.10.

I'm not sure that this is __numpy_ufunc__ dependent, but I suspect
so.

(cherry picked from commit 8ad26f0d0523baf1d7297426451c05e05f24217f)