Making this work with VirtualBox.
VirtualBox directory heuristic.

If vagrant has a shared folder, we can get this information from
VirtualBox. In default configurations, this folder is the one containing
the Vagrantfile which lets us change to that directory before invoking
"vagrant ssh" to connect to the VM.
Merge pull request #3 from acowley/master

Initial VirtualBox support.