vagrant: Use 1024 MiB memory & 2 vcpus when using virtualbox

Now it's the same as with vmware_fusion.
vagrant: Respect setup.sh's shebang line

setup.sh says #!/bin/bash, but 'vagrant provision' was running it under
/bin/sh anyway.