Add text transformation template functions.

Hi,

I just added a couple of text transformation template functions.

It allows us to perform basic text case changes when dealing with template files.

Let me know if it's ok and if this change suits you.

Regards,

Vincent