Port the hostname detection to Cygwin, where hostname doesn't support a -s option.  We'll need to later add regex management to get the leading hostname, discarding the domain part.
Port the hostname detection to Cygwin, where hostname doesn't support a -s option.  We'll need to later add regex management to get the leading hostname, discarding the domain part.

git-svn-id: c6750f7dd89925e309f580f56430152d063ff36c@1026 aa0779c3-6ec2-4b84-a212-a405c134cd8d

pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA