Adds static legend to layer detail

Adds a static legend to the layer_detail template in the layers module. 

This is only part of the solution. Both the legend and the styles boxes should update automatically if the map style is changed. A listener needs to be implemented for style changes.