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