fix locale handling in routing
Merge pull request #138 from symfony-cmf/fix-locale-handling

fix locale handling in routing
only load mapper compiler pass if the orm resp phpcr-odm is available
avoid a weird testing failure with latest symfony 2.3, fix translations for sonata
Merge pull request #140 from symfony-cmf/cleanup-mapping-compiler-passes

only load mapper compiler pass if the orm resp phpcr-odm is available