Fixed logic on comparing times.

Wrote a set of functions which can evaluate whethera time (as defined by a
hour and minute) is after another time, before another time, or between
two times.

Tested moderately.