Add a DebugTo convenience funtion
Add a DebugTo convenience funtion

One might want to write the debug information somewhere other than
Stdout. This patch adss a DebugTo function and method, that accepts
an io.Writer. It changes the original Debug implementation to call
this new function with a default of os.Stdout, which maintains
backward compatibility.

Signed-off-by: Brad P. Crochet <9233b6f5388d6867a2a7be14d8b4ba53c86cfde2@redhat.com>

spf13/viper