[MRG] Locality Sensitive Hashing for approximate nearest neighbor search(GSoC)

This function is used either to give the number of matched indices (in `_find_longest_prefix_match`), or to index into the `original_indices` array. Surely a `slice` is more appropriate than an `arange`, if not just returning a `tuple`.