(maint) Refactor PS event code to Signal-Event
(maint) Refactor PS event code to Signal-Event

 - There are two codepaths that signal a named event.  Build a cmdlet
   to encapsulate that functionality.

 - If a DebugPreference is set other than SilentlyContinue, system
   level debug output is emitted (and viewable by DbgView)

ferventcoder/puppetlabs-powershell,Iristyle/puppetlabs-powershell,puppetlabs/puppetlabs-powershell