Added ability to specify facts.yml template.

I have added the ability to specify the contents of facts.yml.

We need it as the ordering breaks on older Ruby versions so we use a sorting/etc.
I've kept the template content the same as the original, to not break anything for existing users.