Move statemachine documentation, was included in wrong header
Merge pull request #603 from matthiasbeyer/fix-doc

Move statemachine documentation