contrib: add vagrantfile for automated test provisioning

Also add a modeline to the userdata file so Vim picks it up correctly.