Fix edit form when deployed at non-root tomcat context
Fix edit form when deployed at non-root tomcat context

UKGovLD/registry-deploy-env2016,UKGovLD/registry-deploy-env2016,wmo-registers/codes-wmo-deploy,UKGovLD/registry-deploy-loc2016,wmo-registers/codes-wmo-deploy,CSIRO-LW-LD/registry-config-base,UKGovLD/registry-deploy-loc2016,UKGovLD/registry-config-base,CSIRO-LW-LD/registry-config-base,UKGovLD/registry-config-base,usgin/registry-config-base,usgin/registry-config-base,UKGovLD/registry-config-base