replaced class_eval with define_method in transitions#define_state_query_method
replaced class_eval with define_method in transitions#define_state_query_method

ozydingo/transitions,lksv/transitions,troessner/transitions