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
Yep, the only usage. The rest of image uploads go to /archive_media.