Fix package versioning, fix apt repos

Installing 'latest' is a bit of an anti-pattern.

This changes the default to 'installed', fixes some end-of-line spaces, and fixes the apt install so it'll install in one run (previously it was executing apt-get update before the apt-key command, leading to problems with apt not installing because it can't find the keys).
Shouldn't this be set for ```ensure  => $package_state``` like apt.pp?