geometry.index: added includes to some detail/algorithms to make possible using them without including rtree.