Added Dynazoom links back to service template

The dynamic zoom links were missing, fixed.

I also added preliminary code for the graph legend.
I'm not sure why it is not working, the tmp_loop for FIELDINFO is just ignored.

I made as 2 separate commits if you want to separate them out, although the extra graph legend code does not cause any issues