refactor gravatar related methods to user controller

* change gravatar link in edit form to open es.gravatar.com/site/check/{email}
* refactor avatar_url(user) to user.avatar_url in several files