TS-2296: improve ConfigProcessor reference counting

Use the standard RefCountObj reference counting of ConfigInfo
objects. Add regression tests so that we can understand how this
is supposed to work better.