[WIP] Better support of content creation

Minor additions are needed in createphp in order to be able to create routes documents.

This PR is linked to symfony-cmf/cmf-sandbox#143 and https://github.com/symfony-cmf/CreateBundle/pull/24. 

Do not merge this PR for now, it has been created to synchronize the work in progress.