Added TimeOfDay.to_i method as alias to second_of_day. Includes test cases.