add layerInfos in Legend dijit constructor
Merge pull request #3 from jgravois/legend-layers

add layerInfos in Legend dijit constructor