Added experimental `getEnclosingTemplate` routine

Currently, I can find no other way to get access to the parent template data from the context of a child template. This proves to be quite useful in situations where the DOM structure is interfering with the application logic.