Added a simple class which handles internal transitions within a state.

In contrast to the normal transition, the internal transition will
not change the state and therefore does not execute the enty and
exit actions. This kind of transition must be associated with
an event and an action. Optionally a guard can be used as well.