Fix $(config) tests.
Fix $(config) tests.

In order to substitute the value in _ProxyIfResolver, we must expand
references, because the PlaceholderExpr tested for is used as the value
of the 'config' variable, not in places where $config is referenced.

vslavik/bakefile,vslavik/bakefile,vslavik/bakefile