Add gallery/media relation APIs
Merge pull request #512 from eko/api

Add gallery/media relation APIs
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