Support competitions with participant uploaded code (competition's phase has is_scoring_only set to False). Incorporate and complete fix where icons were missing from the submission table after fix for #277.