AppService now allows MessageBoxButton parameter.

- This allows the caller to specify what buttons they want.
- Updated all tests to pass in the correct value.
- Augmented test to pass in YesNo for the discard confirmation.
- The real code now uses YesNo for real.
Now shuts down if the user confirms the discard. +test
+Test to show that saying "no" to discard will not shut down.