Improve error responses by including a source for each template/partial

When a parse error is encountered, only the position, the error message
and the text being parsed are returned. When using partials, there is no
indication whether it was in the template, or a partial, or a partial
within a partial.