Refactor Problem->meta_line()

Instead of a bunch of nested if statements used to build the
"Reported in the X category[...]" text, build up the string
as an array which is join()ed just before returning.