Allows to access templates that defined in pool definition.

In some processes you may need a template definition to use when sending custom mail messages or PDF documents. Instead of hard coding template content in scripts you can use $Templates object to fetch template content or perform transformation.