Changed apt to use local mirrors instead of the default US one

This should improve package download times.
Fixed broken puppet install command

Now it installs latest version instead of a specific one.
Previous command was broken because 3.7.1-1 is not the latest version anymore and puppet-common with newer version would prevent installation.
Install build tools because some dependencies need them

Installation of fpm-cookery would fail with make not found.