Use APT class to manage Debian & Ubuntu repositories

The PuppetLabs APT class will ensure the repo is present, without running exec() every time. Have also applied some puppet-lint changes.