added modulefile, correctly ensuring python packages

If packages are declared anywhere else in puppet it would cause an error, functions from `puppetlabs/stdlib` can solve this problem.