Use WMS specific legend node for the layertree model

Fetches legend graphic lazily
Revert the createLayerTreeModelLegendNodes API change, not needed now