title: how to change the icon of leaf node in dojo tree?
body: <p>I have created a tree containing information about server and its VMs.
  I want to change the icon of VM to green if the VM is power on or to red if the VM is poweroff.
  How to achieve this?</p>