Add view helper to resolve host-/servicemacros as well as customvars

refs #4490