util/packer: Refactor scripts and use single JSON template

This is so `packer` can build both Vagrant and EC2 images in parallel.
And tup and mercurial, unless we want to use the same AMI for development for now?