Support for templates in moduleRendrer

The rendrer can now render templates to simplify the creation of simple modules
tightly coupled to the controllers.