Example that adds legend to the layerTree

Sample Customization.js that adds legend to the layerTree. Compatible only with QGIS 2.6