Improved structure of Course.coincident_segments

It now functions as a dict of dicts. The first key is the code of the
segment type C L or T. The second key is the tuple_key of the segment.