(RE-2618) Template mock configs

This commit adds in capabilities that check if a template for mock
configs are in place then creates the mock config from them. It then
uses the newly made mock configs in the usual method.
This is enforcing the pe_version be an environment variable, when it can also be set in project_data or build_defaults.