libtizonia: added table-based fsm to tizprc class (refactored dispatch_state_set function)