[sosreport] profile listing improvements

Add a listing of available profiles at the end of --list-plugins
output and add plugin and profile counts to the output of both
--list-plugins and --list-profiles.

Also factor out some common code for formatting commas-separated
multi-line lists.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>