Added multienvironment capability

Environment url modification in template files had to be removed.
Additional cleanup and centralization of public domain setting was moved out of web_server type to server recipe.