[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).
Quite the opposite: `.tolist()` will generate an extra memory allocation but apparently iteration is faster for some reason. Maybe it's a matter of casting repetitively array elements to Python types while `.tolist()` has a faster way of doing it.