improve KdTreeFLANN API and test it

Previously, constructing a KdTreeFLANN object made no sense since there
was no way to set its input cloud. It would segfault at first use.