Changed method of determining when a line is running

In preparation for adding the ability to automatically start a new day.
Now the schedule is read to find the earliest and latest trips, lines
are determined to be peak hours only if they have no trips in the middle
of the day, or owl lines if they run during the middle of the night.