pre-install common packages

Every time we create a machine, we install some packages and some puppet
modules which are specified in heiradata/common.yaml. This commit takes
that list of packages and the list of packages installed by those
modules and pre-installs them on the template.