added segment to box distance computation for two dimensions;
modified rtree distance computation for point to box to use the BG comparable distance for the point-box combination (suggestion by Adam);
added test cases for the 2D segment-box distance computation;