MDL-45848 grading: Added ability to unset grades with advanced grading

Thanks to Mohamed Alsharaf for assistance on this patch
MDL-45848 assign: Allow settings to be updated without a grade