Copy pairwise_distances_argmin from scikit-learn v 0.15 as it is not released yet, but it would be nice to run tests on travis, where 0.14 is installed.