Fix LMS-2249 (https://github.com/edx/edx-platform/issues/2516)
Add trailing commas to multiline lists, to prevent string concatenation bugs