Fix API DoctrineORMSerializationType to be loaded only when using ORM
Fix API DoctrineORMSerializationType to be loaded only when using ORM

Fix API controllers to be loaded in ORM context only

arosslau/SonataUserBundle,morille/SonataUserBundle,morille/SonataUserBundle,arosslau/SonataUserBundle,nicolasricci/SonataUserBundle,morille/SonataUserBundle,arosslau/SonataUserBundle,sonata-project/SonataUserBundle,nicolasricci/SonataUserBundle,morille/SonataUserBundle,nicolasricci/SonataUserBundle,arosslau/SonataUserBundle,nicolasricci/SonataUserBundle