Add internal transitions.

Relates to issue #10.
Merge branch 'develop' of github.com:tarbrain/TBStateMachine into develop