totally refactored the handling for depth in the CmfHelper
Merge pull request #67 from symfony-cmf/workflow-security-test-fixes

totally refactored the handling for depth in the CmfHelper