Find model for a repository via contains, not the relations
Configure the start state in the configure phase

This also simplifies the StateFactory and removes the need for knowledge
about the controller in the StateFactory
Give state all options on creation
Move transitions and configuration to the `generate` phase
Determine type of state in constructor
Refactoring of State
Check state type on creation
Extract configure to FoxxGenerator
Make state definition order independent
Remove unused function findTransitionByType
Extract configureStates function
Unite prepareTransition and addTransition
Simplify applyTransition
Refactor State
Update README to reflect the contains/containedIn change