fix subprocess external encode issue. https://github.com/mitchellh/vagrant/issues/3706

in io.rb
 subprocess resuts convert external encoding to utf-8

in subprocess.rb
 command line argument convert utf-8 to  external encoding
Changed order of nfs exports parameters for FreeBSD

Seems to fix my problems when using FreeBSD 10
Fix Issue 4307: FreeBSD fix interface device names in /etc/rc.conf

https://github.com/mitchellh/vagrant/issues/4307

Fix details:
Pass network interface name to template renderer and use it
in static and dhcp templates to render /etc/rc.conf entries.

  modified:   plugins/guests/freebsd/cap/configure_networks.rb
  modified:   templates/guests/freebsd/network_dhcp.erb
  modified:   templates/guests/freebsd/network_static.erb

Verification scenario:
Check if /etc/rc.conf contains vtnet entries when paravirtualized
NIC devices are used in FreeBSD guest.
Fix network_dhcp template.
adding smb sync folder implementation for windows guests addressing #3699
filter host IPs to those that resolve on guest when finding addresable IPs on a windows guest
Changing default repo URL.
Selecting for duration of timeout can cause hang

When specifying a timeout, the subprocess used to select for timeout seconds on the stdout, stderr pipes.

This creates a race condition and can cause the `Subprocess#execute` to hang for the full timeout interval if the process has already exited and no more output is send to the pipes.

This race is happening with a higher probability if the subprocess is generating a lot of output.
Update chef_client.html.md
write to stdout before exit 1
Merge pull request #4356 from StefanScherer/fix_winrm_should_upload_file_problem_4054

fix should_upload_file, write to stdout before exit 1
Verbose output for docker provisioner

Verbose output for docker build and pull tasks
Update Windows Salt provisioner version
exit wit code 1 from powershell commands that fail but do not send an exit code
Ignoring SSHKeyBadOwner if user is root (uid 0)

Allows using `sudo vagrant up` without `chown`ing the insecure private key
typofixes - https://github.com/vlajos/misspell_fixer
Merge pull request #4389 from vlajos/typofixes-20140825

typofixes - https://github.com/vlajos/misspell_fixer
Scrub SSH PTY output to filter out command echo-ing.
Use -f argument to rm to force-remove files.

When using pty=true, removing files using sudo may request confirmation,
which will hang the connection.

Similarly, sometimes assumptions about file existence may be wrong and
in those cases it seems better to continue on as long as the file does
not exist, so -f makes sense there, too.
Preserve exit code while using pseudo-terminal hack.