fix text elements widths in map/layer, refs #470

this also cleans up the inconsistent width on the metadata elements
introduce internal geoserver URL, refs#579
Merge branch 'iss-579' into production