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

Thank you for the explanation. That was really helpful. 

I re-factored the code to reflect this change. Now queries are converted to hash using `tranform` method.