Fix pretty printing with showFreeText

Remove the special casing for strings starting with a newline.
Handle all newlines in strings the same way, by replacing them
with a '.'.
Pretty print the field 'depends' nested
Fix pretty printing of flags

Pretty print the fields of flags nested.
Merge pull request #1998 from dan-t/master

Pretty print fixes
enable pkgconfig-depends for tests and benchmarks

implement a common BuildInfo processor for all package components

change names of component BuildInfo processors to be more descriptive
Merge pull request #1995 from mcox/pkgconfig-bugfix

enable pkgconfig-depends for tests and benchmarks