(CPR-63) 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.
Well, they are separate functions and we need mock_config still in the event we aren't using a template, which when we aren't building pe we won't.