moved entry/exit actions to IExecutionState

- added a base class ConfigurableGuard that should be used, when you want
to define your guards from within a config file.
- added some flow tests to verify the XmlStateMachineBuilderTest logic