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
why do you pass there `url_for_media`? just curious