Add OpenCV specialization

There was a `GenericTree` but it was incomplete and could not be used.
The new `CVTree` is feature-complete and is used in the visual localization improvements.