Fix API DoctrineORMSerializationType to be loaded only when using ORM

Fix API controllers to be loaded in ORM context only
Merge pull request #373 from eko/master

Fix API DoctrineORMSerializationType to be loaded only when using ORM
Merge remote-tracking branch 'refs/remotes/sonata-project/master'