classic ui: show custom variables in extended info, allow to exclude custom variable name/value based on pattern

everything set except the correct formatting (maybe make this hidden by
default and clickable with the plus icon).

refs #4390