Also set up git config name and email.
Pass in the global name and email.
Base the VM's hostname off of the host's hostname.
Strip the commands' stdout of surrounding whitespace.

The newlines were being included and breaking other statements in the
Vagrantfile.
Print the public key instead of the private key.
Merge remote-tracking branch 'github/ps.setup_git_config'

This branch fixes some minor issues with the git and ssh setup.