search config file path for resources; use the working directory to find the common path prefix
use the config dirname, not the full path to the config file
allow template files to be specified as absolute paths (#480)
allow users to override the default template's layout file with the templates.default.layoutFile config property (#480)