fix for server/layer save/load to support gxp-ish format needed for the minimap in geocode to work in addition to map loom working.
Give the use an error if the map doesn't save correctly.