Several fixes related to rendering layer nodes in tree panel

Also, i removed "plugins" field from GeoExt.data.LayerTreeModel to make plugin "gx_layer" actually work in models subclassing it.