added request attribute as an alternative for parameter injection with templating
readded $templates:TYPE_ERROR (is referenced on line 258)
correction of parameter name
Merge pull request #4 from peterstadler/master

Feature Request: Add request attribute as an alternative for parameter injection with the templating module