Applied CoreBundle refactorization

Requires https://github.com/sonata-project/SonataCoreBundle/pull/35 to be merged before.