Refine regex for start and end times.

We now only allow valid times, including 00:00 and 24:00.
Make the end time field show an error if it's before the start field.

This is not implemented very nice. We might want to replace this fix by
a specialised class to do that.