Add simplelayout support for references in context state.

The context state now also checks all simplelayout blocks
which have no workflow for references and merges them.
Merge pull request #11 from 4teamwork/jone-sl-constraints

Add simplelayout support for references in context state.