Add trailing commas and fix multi-new-lines

See https://tracker.phpbb.com/browse/PHPBB3-12456