Making path lookups relative to the referencing YAML file.

I have a situation where the YAML template can reside a different directory, but I need to use to across multiple stacks. It makes it easier to follow file links by looking at the YAML template and resolving the links relatively with respect to the YAML template.