Add avatar functionality

Add a model mixin.
Add optional api urls.
Add avatar serializer / views.