Added option file_extension to render() 

To be able to use templates with custom extensions:
Added option file_extension to render() method so that we can use custom extension for templates
for e.g.
$self->render(template=>'index',handler=>'tt',file_extension=>'ttml');
will render file(index.ttml)