Fixed parser IR and NEC.

1. API -- ir_set_event set delta, no abs value of time.
2. Using uint32_t for delta (int for NEC)
3. Fixed error on logick.

Example for real working see in git@github.com:BASM/avr_libinfrared.git
 commit: efb4849f811336f38c4266963d475d269dde841d