GIBS-431 #11 Added ServiceURL to environment config for getCapabilities.
Also fixed addition of static layers.