STY Simplify and avoided numpy warnings in imputation
ENH/TST remove unnecessary sorts and complete testing for sparse median
COSMIT Remove unnecessary assertion
FIX for numpy compatibility, code clarity
Merge pull request #2938 from jnothman/clean_impute

[MRG+1] some clean-up in Imputer, particularly in calculation of sparse median