New Range[Interval] type and corresponding SQL "segment"

These will be useful for better defining clips/excerpts but are not used yet.