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
To avoid a circular reference.