added MapStrToState and helper functions.
moved handling of constants from Fsm to Parser. Reason: to avoid handling of constants in run-time.
added constructors for different data types - int32, double
added const_to_param()
renamed OnSignal into SignalHandler