rtree: margin() renamed to comparable_margin(), other/simpler algorithm used, 3d_benchmark added

svn path=/sandbox-branches/; revision=83449