Fix random CS rules, fix some broken phpdocs
use the Symfony CMF Routing component

credits: https://github.com/lsmith77 and https://github.com/stewe

Conflicts:
	composer.lock
	src/Sylius/Bundle/WebBundle/Behat/WebContext.php
Merge pull request #255 from lsmith77/use_symfony_cmf_dynamic_router

use the Symfony CMF Routing component
Make a generic updateStateAction

in ResourceController
added load metadata event subscriber for mongodb-odm