Function event_timer_creat() now returns uint32_t

Originally it returned uint8_t which isn't compatible with rest of the
c-event-machine API.