[MRG+2] ENH: Add metric support to neighbors_graph

Use non-euclidean metrics for kneighbors and nearest_neighbors graph.