istream/subst: move code to new class SubstTree
istream/subst: move code to new class SubstTree

CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy