Display spinner if photo uploaded on form submit
Fix old student / user in Moodle
Add Moodle core_files_upload call after photo upload