Fix bugs in ProfilePhotoController.
Fix bugs in ProfilePhotoController.

Fix error when unchecking "primary" checkbox.
Unset Person#profile_photo_id if ProfilePhoto is deleted.
Flash message when ProfilePhoto can't be created.

biola/profile-publisher,biola/profile-publisher