Handle user profile image upload without an image

The image upload button on the profile edit pages threw a 505 if clicked without an image to upload.
Merge pull request #224 from svoigt/master

Handle user profile image upload without an image