MDL-37153 - assign: Obey grade display settings in submission status

The assignment submission status screen was ignoring the grade item's
display setting, showing scores even if it's set to display letters only.

By taking in the str_long_grade, we can output it as specified in the
grade item, falling back to the score if no long grade is passed in.