Add ST_ToMultiSegments

This seems to be complicated in PostGIS. See
http://stackoverflow.com/questions/7595635/how-to-convert-polygon-data-into-line-segments-using-postgis