merging pull request #83 from AMilkov

Check if there is avatar before going into upload scenario.

Otherwise the button "Upload avatar" from edit profile form generate msg:
"Avatar image can not be blank"