Started work on formatting multiple-file coverage output

Coverage info is currently stored in a JSON array of JSON
documents with each document storing coverage data of a
single file.
Fixed trailing comma problem in printAndDeleteList

Instead of just checking if list data is an empty list,
program checks if it is an empty list chain, which is a list
(of a list of...) an empty list.