Add template_## class to each node in the resource tree

Add custom class attribute to each resource depending on the template used. With a customized mamanger template it will be possible to display the template being used for each template.

Example: 
![Custom Icons](https://dl.dropboxusercontent.com/u/1840535/Download.png)