Simplify the Vagrantfile

Now that we intend to support both Vagrant and Heat builds, pull all of
the logic from the Vagrantfile and drop it into a script that gets
called from Vagrant's inline shell provisioner.