Add PrepareFor* signals

Add exported signals for PrepareForShutdown and PrepareForSleep