[MRG+1] Locality Sensitive Hashing for approximate nearest neighbor search

New PR created from #3304
There's no `/tmp` on Windows machines, probably.