TC: Added 'list_templates()' to the Provider API

This function is also now available in the standard template variables
(i.e. can be accessed within templates)