ENH refactor squared-norms computation to extmath

k-means can now use the memory-efficient dense implementation from
metrics.pairwise, while pairwise can use the fast sparse implementation
from k-means.
ENH use row_norms in KDE code

There may be other places where it is useful.