Fix gallery has media API methods to fill position/enabled fields
Merge pull request #514 from eko/api

Fix gallery has media API methods to fill position/enabled fields
Fix API DoctrineORMSerializationType to be loaded only when using ORM

Fix API controllers to be loaded in ORM context only

Update position
Merge pull request #513 from eko/master

Fix API DoctrineORMSerializationType to be loaded only when using ORM
Merge branch 'master' into apiWriteMedia

Conflicts:
	Controller/Api/GalleryController.php
Fixed implementation to use FormTypeExtension