Updated handling of preferred shell to prefer /usr/local/bin first and allow override if the EDITOR environment variable is already set when profile is loaded.
Added support for reading a host-local environment variable file specific to this profile from /etc
Added user override environment script specific to this script