update gxp so legends work against ArcGIS Server in the LayerManager
Merge pull request #124 from bartvde/agslegend

update gxp so legends work against ArcGIS Server in the LayerManager