Fix title (text) track

Subtitles were being put in the wrong track. And the TrackTitle object
was being output incorrectly. Fixed the <COMPOSITE> grouping to include
the missing pieces.