Fix gravatar fallback in render_primary view

The avatar_render_primary view did not fallback on gravatar any more. The url `/avatar/render_primary/username/size/` should redirect to the available avatar url, and should fallback on gravatar like it used to. The template_tag implementation gets the correct url itself, this views.render_primary() implementation has the same logic now