Avatar renditions

Add file type, this allows full control over file upload.
Removed tests not relevant anymore, were specific to media type.
Generate renditions for avatar.

SD-527 Multiple renditions should be generated for user avatar
is it the only usage we have so far? i think we will need also some generic upload so we might need a specific api for avatars