HCSVLAB-320: Handled Facet display better - the items under each facet are now sorted, and
if there are 10 or more of themwe put them in a scrollable box.

Also tweaked the details display to be more DRY.