(#21641) Windows puppet service should log to the eventlog

Rebasing broke detecting of the --logtofile argument.  Changed the variable used
(#21641) Windows puppet service should log to the eventlog

Changed wording of the log message when putting the service into a paused state.  Now references a Puppet Issue ticket for tracking
(#21641) Windows puppet service should log to the eventlog

The ensure block will make sure that the eventlog handle is not nil before trying to close the handle