(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.
This is unintuitive to me - it seems like what this is actually returning is the full path to the mock file, which is the aptly named `mockfile` below. Perhaps that's the variable we should be using here?