Ajax update profile photo

- Moved profile photo logic to new add_profile_photo() action.
- Added case in Input helper to check $_FILE.