Fixed a few time validation bugs

The value of minutes or seconds cannot be 60, and on a 24-hour clock, the
hour field cannot be 24 (00:00 to 23:59 are valid). Also fixed the
increment/decrement methods to use modulus instead of simple
subtraction.