[MRG+1] LSHForest: sparse support and vectorised _find_longest_prefix_match

This adds sparse matrix support to `LSHForest`, vectorises calls to `hasher.transform`, and vectorises `_find_longest_prefix_match` over queries. These seem to speed things up a little, but the benchmark script does not provide very stable timings for me.

Some other query operations cannot be easily vectorised, such as gathering the set of candidates per query (which differ in cardinality). Unvectorised operations make sparse matrix calculations particularly inefficient (because extracting a single row is not especially cheap).
It's not quite: the `min_candidates` criterion depends on duplicates, although I'm not exactly certain it's being calculated correctly. I'll discuss this on the PR directly so it doesn't get lost.