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

using 'np.all' here instead of 'all' is better style, as it will go faster on large arrays.