For #23093 expand environment variables in pc paths

From Tony #30: Allows environment variable expansion in the following configs:

```
  projects/<projectname>/tank/config/tank_configs.yml
  software/shotgun/<projectname_or_pipeline_config>/core/install_location.yml
```