Added API for gallery & media
Removed access control check & added documentation
Added getMediaFormats API method
Added binaries data retrieval method for media
Set controllers as services and added unit tests
Updated format API method
Merge pull request #482 from Bladrak/api

Added API for gallery & media