message: Properly react to PC shutdown (win)
  Subscribe to SessionEnding event instead of SessionEnded.
  Fixes "Stop running entry on computer sleep/shutdown"
  Closes
diff: @@ -133,10 +133,19 @@ namespace TogglDesktop
  private void initializeSessionNotification()
  {
  SystemEvents.SessionSwitch += SystemEvents_SessionSwitch;
  - SystemEvents.SessionEnded += SystemEventsSessionEndOnChanged;
  + SystemEvents.SessionEnding += SystemEventsOnSessionEnding;
  SystemEvents.PowerModeChanged += SystemEventsOnPowerModeChanged;
  }
  + private void SystemEventsOnSessionEnding(object sender, SessionEndingEventArgs e)
  + {
  + if (e.Reason == SessionEndReasons.SystemShutdown ||
  + e.Reason == SessionEndReasons.Logoff)
  + {
  + Toggl.SetOSShutdown();
  + }
  + }
  +
  private void SystemEventsOnPowerModeChanged(object sender, PowerModeChangedEventArgs e)
  {
  if (e.Mode == PowerModes.Suspend)
  @@ -161,15 +170,6 @@ namespace TogglDesktop
  }
  }
  - private void SystemEventsSessionEndOnChanged(object sender, SessionEndedEventArgs e)
  - {
  - if (e.Reason == SessionEndReasons.SystemShutdown ||
  - e.Reason == SessionEndReasons.Logoff)
  - {
  - Toggl.SetOSShutdown();
  - }
  - }
  -
  private void hideAllViews()
  {
  foreach (var view in this.views)
  