Add a random filter for templates

Take two on adding random cron values to Ansible. This adds a random filter that accepts a number of customizable return styles. This should cover all issues raised in #5521