Feature/media services implementation

Implement MediaService using REST and XMLRPC for getMedia and uploadMedia.

This allows featured images to be set using the REST API and also to retrieve them one by one instead of depending of the sync of the full media library.

It will solve some reported bugs for setting the featured image.

cc @koke 
`medias` is not an English word. `media` is already a plural