My proposed version for `feature/response-exception`

Here another proposal for `feature/response-exception`, which adds the following:

- Additional security by applying `basename()` to the template name
- Return relative paths in `getTemplateFile()`
- Remove the potentially insecure changes regarding a variable template path

ok, you mean `die_nicely` would try the core module path?