Geo: Display Custom Avatars in secondary nodes

Gabriel Mazetto requested to merge 1128-geo-custom-avatars into master

This MR introduces some small patches for User, Project and Group models and related classes to build the avatar URL pointing to the primary node. We should be able to remove this in the future when we start replicating local assets in Geo (#76).

For the changes to take effect on all pages, it's required to run:

# for Omnibus GitLab installs:
gitlab-rake cache:clear

# for Source installs:
RAILS_ENV=production bundle exec rake cache:clear

Closes #1128 (closed)

Merge request reports