Add support for RandomSleep to 10periodic

This is a refresh of the merge request as proposed by @frankatwork in https://github.com/puppetlabs/puppetlabs-apt/pull/308. It incorporates the review comments by @daenney.