Transition is not part of State class anymore

It is a function in the base module now.
Forbid explicit state setting
Update the docs
Rework transition
Merge pull request #193 from ufo-kit/transition-function

Transition function instead of State's method