Connect State Machine older class Bugfix

Modified order of resetting caster FSM to allow for the case of class
modifications.
State improvements.

Modified documentation of state. Made state a handle object for future
state definition use.
StateChangeEventData improvements.

Modified state change event data for better documentation.
StateMachine, Transition Improvements

Better documentation, variable name changes. You know the drill.

Additionally defines a new way of sending signals, via enums.
Improved FSM setup.

Added enumeration rules. Improved documentation.
Input Display Helper

Creates an input string for the monitor function block.
statemachinesfun

* Improved commenting.
monitor s-function

* Removed unused code.
* Added target language compiler.
* Modified mechanics for enums.
Change of fsm_model and other related models

Refactored such that fsm_model and fsm_monitor_model are separate models
which can be re-used elsewhere, effectively making fsm_model_test a
testing harness. All of these models now have improved comments.