Added error and success messages to settings image upload.

Now a warning is shown if an invalid file type is selected for upload.
Also, on completing of profile picture update, a success message is
shown.