Segment: Add a sqr version of segment_point_distance
Hashtable: Add from_python support