Fix for issue 1414 (Grade doesn't get updated when grading under TA)

Fixed by adding a check in _update_mark.rjs for the released checkbox, which would cause the methods to not run since it would fail for TAs, since there is no released checkbox.