Facter 2 output formatting

This extracts the Facter command line formatting so that we can easily swap out the default format.

Question for the audience: do we want to change the output format of Facter to something more suitable to machine data, or should we leave it as-is?