(PUP-2952) Puppet should only log facts in debug mode

In environments with lots of facts puppet agent can fill the
screen and log files with loading fact messages. This is only
useful when debugging and should thus be only enabled when in debug mode.