Added image cropper widget for user profile image.

Also added a validator for processed images.