Compacted log events on separated lines should be treated as individual ...

Compacted log events on separated lines should be treated as individual json objects.

 The comma at the end of each line breaks the reading of each line if strict json formatting is required.
 The counter argument is that this breaks the json formatting of the file.
  But the file is always invalid as it always has a trailing comma.
  Otherwise this change only applies to compact && newline configurations.

This is an addition to commit a674ae80 


This pull request includes the removal of trailing whitespace on other lines.
(to view the pull request append "?w=1" to the url)