refactored the image src generation into a service

Refactored the generation of the image src into it's own service.

I am using a tooltip with tooltip-html-unsafe to show a bigger version of the gravatar, the tooltip can't use a directive or use a custom template (the is a PR for this)

I can now set the gravatar image url on the object by calling the gravatarImageService.getImageSrc method