Add support to avatar upload #577

The user form now have a file field for avatar upload, and the avatar helper try to display the uploaded avatar, if it doesn't exist it shows the Gravatar image